Package: | Ext |
Defined In: | Shadow.js |
Class: | Shadow |
Extends: | Object |
Config Options | Defined By | |
---|---|---|
mode : String The shadow display mode. Supports the following options:<div class="mdetail-params">
sides : Shadow displays on both... The shadow display mode. Supports the following options:
| Shadow | |
offset : String The number of pixels to offset the shadow from the element (defaults to 4) | Shadow |
Method | Defined By | |
---|---|---|
Shadow( Object config ) Create a new Shadow Create a new Shadow Parameters:
| Shadow | |
hide() : void Hides this shadow Hides this shadow Parameters:
| Shadow | |
isVisible() : void Returns true if the shadow is visible, else false Returns true if the shadow is visible, else false Parameters:
| Shadow | |
realign( Number left, Number top, Number width, Number height ) : void Direct alignment when values are already available. Show must be called at least once before
calling this method to e... Direct alignment when values are already available. Show must be called at least once before
calling this method to ensure it is initialized. Parameters:
| Shadow | |
setZIndex( Number zindex ) : void Adjust the z-index of this shadow Adjust the z-index of this shadow Parameters:
| Shadow | |
show( Mixed targetEl ) : void Displays the shadow under the target element Displays the shadow under the target element Parameters:
| Shadow |