/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. Build date: 2013-04-03 15:07:25 */ Ext.data.JsonP.Ext_Shadow({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":null,"uses":[],"html":"

Files

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

\n
Defined By

Config options

The shadow display mode. ...

The shadow display mode. Supports the following options:

    \n
  • sides : Shadow displays on both sides and bottom only
  • \n
  • frame : Shadow displays equally on all four sides
  • \n
  • drop : Traditional bottom-right drop shadow
  • \n

\n
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)

\n

Defaults to: 4

Defined By

Methods

Ext.Shadow
view source
new( config ) : Ext.Shadow
Create a new Shadow ...

Create a new Shadow

\n

Parameters

  • config : Object

    The config object

    \n

Returns

Ext.Shadow
view source
( )
Hides this shadow ...

Hides this shadow

\n
Returns true if the shadow is visible, else false ...

Returns true if the shadow is visible, else false

\n
Ext.Shadow
view source
( left, top, width, height )
Direct alignment when values are already available. ...

Direct alignment when values are already available. Show must be called at least once before\ncalling this method to ensure it is initialized.

\n

Parameters

  • left : Number

    The target element left position

    \n
  • top : Number

    The target element top position

    \n
  • width : Number

    The target element width

    \n
  • height : Number

    The target element height

    \n
Ext.Shadow
view source
( zindex )
Adjust the z-index of this shadow ...

Adjust the z-index of this shadow

\n

Parameters

  • zindex : Number

    The new z-index

    \n
Ext.Shadow
view source
( targetEl )
Displays the shadow under the target element ...

Displays the shadow under the target element

\n

Parameters

  • targetEl : Mixed

    The id or element under which the shadow should display

    \n
","superclasses":[],"meta":{},"requires":[],"html_meta":{},"statics":{"property":[],"cfg":[],"css_var":[],"method":[],"event":[],"css_mixin":[]},"files":[{"href":"Shadow.html#Ext-Shadow","filename":"Shadow.js"}],"linenr":1,"members":{"property":[],"cfg":[{"tagname":"cfg","owner":"Ext.Shadow","meta":{},"name":"mode","id":"cfg-mode"},{"tagname":"cfg","owner":"Ext.Shadow","meta":{},"name":"offset","id":"cfg-offset"}],"css_var":[],"method":[{"tagname":"method","owner":"Ext.Shadow","meta":{},"name":"constructor","id":"method-constructor"},{"tagname":"method","owner":"Ext.Shadow","meta":{},"name":"hide","id":"method-hide"},{"tagname":"method","owner":"Ext.Shadow","meta":{},"name":"isVisible","id":"method-isVisible"},{"tagname":"method","owner":"Ext.Shadow","meta":{},"name":"realign","id":"method-realign"},{"tagname":"method","owner":"Ext.Shadow","meta":{},"name":"setZIndex","id":"method-setZIndex"},{"tagname":"method","owner":"Ext.Shadow","meta":{},"name":"show","id":"method-show"}],"event":[],"css_mixin":[]},"inheritable":null,"private":null,"component":false,"name":"Ext.Shadow","singleton":false,"override":null,"inheritdoc":null,"id":"class-Ext.Shadow","mixins":[],"mixedInto":[]});