Package: | Roo |
Defined In: | Roo/Shadow.js. |
Class: | Shadow |
Options | Defined By | |
---|---|---|
mode : String
The shadow display mode.
The shadow display mode. Supports the following options:
sides: Shadow displays on both sides and bottom only frame: Shadow displays equally on all four sides drop: Traditional bottom-right drop shadow (default) |
Roo | |
offset : String
The number of pixels to offset the shadow from the element (defaults to 4)
The number of pixels to offset the shadow from the element (defaults to 4)
|
Roo.Shadow |
Method | Defined By | |
---|---|---|
new Roo.Shadow
(Object config)
Create a new Roo.Shadow
Create a new Roo.Shadow
|
||
hide
()
Hides this shadow
Hides this shadow
|
Roo.Shadow | |
isVisible
()
Returns true if the shadow is visible, else false
Returns true if the shadow is visible, else false
|
Roo.Shadow | |
Direct alignment when values are already available.
Direct alignment when values are already available. Show must be called at least once before
calling this method to ensure it is initialized. |
Roo.Shadow | |
setZIndex
(Number zindex)
Adjust the z-index of this shadow
Adjust the z-index of this shadow
|
Roo.Shadow | |
show
(String/HTMLElement/Element targetEl)
Displays the shadow under the target element
Displays the shadow under the target element
|
Roo.Shadow |