<stylishbutton>

JavaScript: lz.stylishbutton

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
font expression any Verdana read/write
   
fontcolor color Color 0x373B56 read/write
   
fontsize expression any 11 read/write
   
iconname string String   read/write
  icon resource name prefix
icony expression any 0 read/write
  y position of icon, for fine tuning. if not specified, center the icon vertically.
leftresource string String stylishbutton_left_rsc read/write
   
middleresource string String stylishbutton_middle_rsc read/write
   
rightresource string String stylishbutton_right_rsc read/write
   
showleftborder boolean boolean false read/write
  whether to show shadow on right side of button
showleftedge expression any true read/write
   
showrightborder boolean boolean false read/write
  whether to show highlight on left side of button
showrightedge expression any true read/write
   
text expression any   read/write
  text to display in the button (can leave empty)
texty expression any 0 read/write
  y position of text, for fine tuning
tint color Color 0xD9DCF5 read/write
  Control the look of the button. These attributes can and should be controlled with css.

Methods

init()
stylishbutton.init();

updatePositions()
stylishbutton.updatePositions();

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <basebutton>

onclick, onresourceviewcount

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy