X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/api/Ext.Shadow.html diff --git a/docs/api/Ext.Shadow.html b/docs/api/Ext.Shadow.html new file mode 100644 index 00000000..56d9b480 --- /dev/null +++ b/docs/api/Ext.Shadow.html @@ -0,0 +1,83 @@ +Ext.Shadow | Ext JS 4.0 Documentation +
For up to date documentation and features, visit +http://docs.sencha.com/ext-js/4-0

Sencha Documentation

+ + + + + +

Simple class that can provide a shadow effect for any element. Note that the element MUST be absolutely positioned, +and the shadow does not provide any shimming. This should be used only in simple cases -- for more advanced +functionality that can also provide the same shadow effect, see the Ext.Layer class.

+
Defined By

Config Options

Other Configs

 
The shadow display mode. Supports the following options: +sides : Shadow displays on both sides and bottom only +frame...

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
  • +

+
 

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)

+
Defined By

Methods

 
Shadow( +Object config) + : void

Create a new Shadow

+

Create a new Shadow

+

Parameters

  • config : Object

    The config object

    +

Returns

  • void    +
 

Hides this shadow

+

Hides this shadow

+

Returns

  • void    +
 

Returns true if the shadow is visible, else false

+

Returns true if the shadow is visible, else false

+

Returns

  • void    +
 
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

  • left : Number

    The target element left position

    +
  • top : Number

    The target element top position

    +
  • width : Number

    The target element width

    +
  • height : Number

    The target element height

    +

Returns

  • void    +
 
setZIndex( +Number zindex) + : void

Adjust the z-index of this shadow

+

Adjust the z-index of this shadow

+

Parameters

  • zindex : Number

    The new z-index

    +

Returns

  • void    +
 
show( +Mixed targetEl) + : void

Displays the shadow under the target element

+

Displays the shadow under the target element

+

Parameters

  • targetEl : Mixed

    The id or element under which the shadow should display

    +

Returns

  • void    +
\ No newline at end of file