/documentation/af.ui/$.ui.actionsheet.md
Markdown | 49 lines | 34 code | 15 blank | 0 comment | 0 complexity | 2810737266172578a13d41f96308bc23 MD5 | raw file
- #$.ui.actionsheet()
- ```
- This is a shorthand call to the $.actionsheet plugin. We wire it to the afui div automatically
-
- ```
- ##Example
- ```
- $.ui.actionsheet("Settings Logout")
- $.ui.actionsheet("[{
- text: 'back',
- cssClasses: 'red',
- handler: function () { $.ui.goBack(); ; }
- }, {
- text: 'show alert 5',
- cssClasses: 'blue',
- handler: function () { alert("hi"); }
- }, {
- text: 'show alert 6',
- cssClasses: '',
- handler: function () { alert("goodbye"); }
- }]");
-
- ```
- ##Parameters
- ```
- links String|Array
- ```
- ##Returns
- ```
- undefined
- ```
- ##Detail
- $.ui.actionsheet is a shortcut to the action sheet plugin.
- ```
- $.ui.actionsheet("<a href='javascript:;' class='button'>Settings</a> <a href='javascript:;' class='button red'>Logout</a>")
- ```