Button - xkp/Doc GitHub Wiki

Overview

The button component represents an image button. It will have up and down states that will change with move events.

A state_button is also provided, the main difference being how they react to events. A button will change its state (the visible image) using the mousein/out events. An state_button will change on clicks.

Properties

up: An url representing the location of the up image

down: An url representing the location of the down image

Usage

<button id="my_btn" up="images/btn_up.png" down="images/btn_down.png"/>