Package: | Fabs.boombox.ui |
Defined In: | SimpleButton.js |
Class: | SimpleButton |
Extends: | Object |
Config Options | Defined By | |
---|---|---|
align : String Alignment for the button | SimpleButton | |
autoPlay : Boolean Start playing this immediately upon load? | SimpleButton | |
renderTo : String/HTMLElement/Element The element to render this to | SimpleButton | |
url : String Url of the track to play | SimpleButton | |
volume : Number A number between 0 and 100 (defaults to 90) | SimpleButton |
Method | Defined By | |
---|---|---|
SimpleButton( Object config )
Parameters:
| SimpleButton | |
SimpleButton.create( String selector , Object defaultCfg )
:
void<static> Static function to scan a page for links and create buttons
out of them <static> Static function to scan a page for links and create buttons
out of them Parameters:
| SimpleButton | |
render( String/HTMLElement/Element el )
:
voidRender the button Render the button Parameters:
| SimpleButton |