Class CAF.Popup.Model
Object
|
+--CAF.Output.Model
|
+--CAF.Popup.Model
-
Direct Known Subclasses:
-
CAF.Tooltip.Model
- class
CAF.Popup.Model
- extends CAF.Output.Model
CAF Popup client-side model.
Defined in popup.js
Method Summary |
void
|
focusFirstMenuItem(popupElement)
Focuses the first enabled menu item (if any) in the popup.
|
Object
|
getValue()
Gets this control's string or string array value.
|
void
|
hide(callback, click)
Hides popup.
|
void
|
setExtraOffset(h)
|
void
|
setValue(value)
Sets this control's string or string array value.
|
void
|
show(callback, click, element)
Shows popup.
|
Methods inherited from class CAF.Output.Model |
initialize, toString, equals, isDisabled, setDisabled, isFocused, setFocused, isVisible, setVisible, _reapplyOriginalStyle, toggle, refresh, reAttachBehaviors, refreshWhenVisible, addRefreshCompleteListener, removeRefreshCompleteListener, listRefreshCompleteListeners, addToggleListener, removeToggleListener, listToggleListeners
|
classes
Object classes
CAF.Popup.Model
CAF.Popup.Model()
focusFirstMenuItem
void focusFirstMenuItem(popupElement)
Focuses the first enabled menu item (if any) in the popup.
Parameters:
popupElement
- the popup being shown.
getValue
Object getValue()
Gets this control's string or string array value.
Returns:
String value, or in the case of a control with multiple values, an array of string values. If the control has no value, returns an empty string ("") or an empty arry ([]); never null.
hide
void hide(callback, click)
setExtraOffset
void setExtraOffset(h)
Parameters:
hash
- value with x/y keys for setting the extra offset
setValue
void setValue(value)
Sets this control's string or string array value.
Parameters:
value
- String value, or in the case of a control with multiple values, an array of string values. If the control has no value, pass an empty string ("") or an empty arry ([]); never null.
show
void show(callback, click, element)
Parameters:
element
- Element for which popup applies.
Documentation generated by
JSDoc on Mon Aug 30 14:56:06 2021