Defines a Hover Component.
| Hover | Defines a Hover Component. |
| Functions | |
| new | |
| New Hover | This Component defines Frame behaviour on mouse-over, and may contain other Components much like Frames. |
| Variables | |
| components | A table of Components. |
| stylesheet | Hover Component’s stylesheet. |
| Functions and Properties | |
| updateStylesheet | Updates the Hover Component’s stylesheet. |
| Hover Properties | |
| Add | Adds a new Component to the Hover Component. |
| Remove | Removes a Component from the Hover Component. |
| Replace | Replaces a Component in the Hover Component. |
This Component defines Frame behaviour on mouse-over, and may contain other Components much like Frames.
| Variables | |
| components | A table of Components. |
| stylesheet | Hover Component’s stylesheet. |
| Functions and Properties | |
| updateStylesheet | Updates the Hover Component’s stylesheet. |
| Hover Properties | |
| Add | Adds a new Component to the Hover Component. |
| Remove | Removes a Component from the Hover Component. |
| Replace | Replaces a Component in the Hover Component. |
local stylesheet
Hover Component’s stylesheet. Generated via updateStylesheet.
local function updateStylesheet ()
Updates the Hover Component’s stylesheet. The string generated is a combination of all Components’ stylesheets.
| Components | Returns a table copy of Hover Component’s contained Components. |
| Stylesheet | Updates and returns the Hover Component’s stylesheet. |
local function new ( _, init_components )
A table of Components.
local components
Hover Component’s stylesheet.
local stylesheet
Updates the Hover Component’s stylesheet.
local function updateStylesheet ()
Adds a new Component to the Hover Component.
function new_hover:Add ( component )
Removes a Component from the Hover Component.
function new_hover:Remove ( subtype )
Replaces a Component in the Hover Component.
function new_hover:Replace ( component )