diff --git a/node/src/documents/modules/dimmer.html.eco b/node/src/documents/modules/dimmer.html.eco index 18f8f5a4e..5d8f265f3 100755 --- a/node/src/documents/modules/dimmer.html.eco +++ b/node/src/documents/modules/dimmer.html.eco @@ -31,6 +31,7 @@ type : 'UI Module' States Variations Behavior + Settings
All the following behaviors can be called using the syntax $('.foo').dimmer('behavior name', argumentOne, argumentTwo)
add content (element) | +Detatches a given element from DOM and reattaches element inside dimmer | +
show | +Shows dimmer | +
hide | +Hides dimmer | +
toggle | +Toggles current dimmer visibility | +
get duration | +Returns current duration for show or hide event depending on current visibility | +
get dimmer | +Returbns DOM element for dimmer | +
has dimmer | +Returns whether current dimmable has a dimmer | +
is dimmer | +Whether current element is a dimmer | +
is dimamable | +Whether current element is a dimmable section | +
is active | +Whether section's dimmer is active | +
is animating | +Whether dimmer is animating | +
is page | +Whether dimmable section is body |
+
is enabled | +Whether dimmer is not disabled | +
is disabled | +Whether dimmer is disabled | +
is page dimmer | +Whether dimmer is a page dimmer | +
set active | +Sets page dimmer to active | +
set dimmable | +Sets an element as a dimmable section | +
set dimmed | +Sets a dimmable section as dimmed | +
set page dimmer | +Sets current dimmer as a page dimmer | +
set disabled | +Sets a dimmer as disabled | +
You can display a dimmer by either invoking dimmer show on a section or a dimmer itself. If you choose to dim a dimmable section, a dimmer will automatically be created.
Popup Settings | +Dimmer Settings | ||
---|---|---|---|
closable | -true | +true | Whether clicking on the dimmer should close it automatically |
duration |
- duration : {
- show : 500,
- hide : 500
- },
+ duration : {
+ show : 500,
+ hide : 500
+ }
|
Animation duration of dimming. If an integer is used, that value will apply to both show and hide animations. | @@ -205,7 +291,7 @@ type : 'UI Module'
Callbacks | @@ -228,7 +314,7 @@ type : 'UI Module'
---|
UI Module Settings |
---|