Overview  
ConfigsEventsMethods
Element  
Hierarchy

This is base class of all element.All must extend this so that has ability for configuration and event
this class include some base attribute

Configs
ParameterTypeDescriptionDefined By
ObjectSpecifies the border for this element.
Available property are:
@Option enable {boolean} If enable the border
@Option color {String} the border's color.(default to '#BCBCBC')
@Option style {String} the border's style.(default to 'solid')
@Option width {Number/String} the border's width.If given array,the option radius will be 0.(default to 1)
@Option radius {Number/String} the border's radius.(default to 0)
Element
BooleanSpecifies whether the element should be show a shadow.In general there will be get a high render speed when apply false.(default to false)
Element
NumberSpecifies How blur you want your shadow to be.(default to 4)
Element
StringSpecifies the color of your shadow is.(default to '#666666')
Element
NumberSpecifies Horizontal distance (x-axis) between the shadow and the shape in pixel.(default to 0)
Element
NumberSpecifies Vertical distance (y-axis) between the shadow and the shape in pixel.(default to 0)
Element
Events
NameDescriptionDefined By
initialize
Fires after the element initializing is finished this is for test
Parameter
  • this : Element  
Element
Methods
NameDescriptionDefined By
reference:none