NAMESPACE: Bootstrap/Components/ClientComponents
Components/ClientComponents/Onclick.php
When the component is clicked a certain tab should be opened
$number | int |
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 $array = array( 'sync_open' => '1', 'sync_close' => '1', 'context' => 'someid', // anything with context will get pre-cached by the client 'back_button' => '1', 'id' => 'someid', 'viewport' => 'top' | 'bottom' | 'current' ); |
$saveids | array |
$number |
$parameters |
$saveids |
When the component is clicked a div with the corresponding divid should be shown
$parameters | param array $parameters tap_to_close, transition, layout, background |
$divid |
$parameters |
$layout |
$saveids |
When the component is clicked a div with the corresponding divid should be hidden
$divid |
$parameters |
$saveids |
When the component is clicked an element with the given id should be hidden
$element_id |
$parameters |
$saveids |
When the component is clicked an element with the given id should be shown
$element_id |
$parameters |
$saveids |
$text |
$clickparameters |
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 array( 'phone' => $phone, 'id' => 'verification/verificate/', 'variable_error' => 'authenticate_error', 'variable_status' => 'authenticate_status', 'variable_description' => 'authenticate_description' ) |
$parameters |
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 array( 'phone' => $phone, 'id' => 'verification/verificate/', 'variable' => 'code' 'variable_error' => 'authenticate_error', 'variable_status' => 'authenticate_status', 'variable_description' => 'authenticate_description' ) |
$parameters |
$doorid |
$parameters |
Scan doors close by (mostly for debugging)
Clicking the component to which this is attached will trigger a submit action
$menuid |
$clickparameters |
$variables |
$clickparameters |
Clicking the component to which this is attached will complete the current action
$parameters |
Clicking the component to which this is attached will execute the given route. Routes must be in the format Controller/Method/MenuId. If the format is incorrect an error will be thrown. The controller’s given method will be called and the menuid will be passed in. MenuId is not required.
$route |
$persist_route |
$saveparameters |
$async |
$clickparameters |
This is a special command for previewing Appzio app. This works only on iOS.
$server | - this is a server for appzio app |
$api_key | - api_key for the app to open |
$server |
$api_key |
$parameter |
$variableid |
$parameters |
Clicking the component to which the returned value is attached will open a particular action. This is used to have one screen “on top” of the other.
$permaname |
$actionid |
$parameters |
$route |
$persist_route |
$saveparams |
Clicking on the component that the returned value is attached to will open the given branch.
$branchid |
$parameters |
$route |
$persist_route |
$saveparams |
$persist_route |
$route |
$saveparameters |
$actionid |
Clicking the component to which the returned object is attached will trigger the upload image dialog. The image path will be saved in the variable passed to this method.
$variablename |
$parameters |
Clicking the component to which the returned object is attached will trigger the upload image dialog. The image path will be saved in the variable passed to this method.
$content | param array $content - array of layout elements |
$parameters | param array $parameters - must define: "container" (header,scroll,footer,overlay) & placement (replace,before,after) |
$content |
$parameters |
Clicking the component to which the returned object is attached will trigger the upload image dialog. The image path will be saved in the variable passed to this method.
$container | param string $container - header,scroll,footer,overlay |
$container |
Clicking the component to which the returned object is attached will trigger the upload video dialog. The video path will be saved in the variable passed to this method once upload is finished.
$parameters | param array $parameters - onsuccess & onfailure are onclicks |
$variablename |
$parameters |
Clicking the component to which the returned object is attached will ask for push notification permissions.
$parameters |
Used for playing effect sound. If you need more control, use the mp4 player.
$asset_name | param string $asset_name as defined in the assetlist OR url. Note: no sanity checking here. |
$asset_name |
Clicking the component to which the returned object is attached will trigger the google authentication dialog
$parameters |
Clicking the component to which the returned object is attached will logout the current user
$parameters |
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 array( 'fb_title' => 'my title', 'fb_message' => 'my share msg' |
$parameters |
$parameters |
Facebook login will set the following variables: – fb_image (profilepicture) – fb_token – fb_universal_login (user’s id) – gender (if allowed) – name – one of the additional requested permissionsAlso, all refresh action calls will have $_REQUEST[‘fb_login’] set to true
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 For example: array( 'id' => 'do-fb-login', 'sync_open' => 1,'read_permissions' => array( "public_profile", "user_friends", "user_about_me", "user_birthday", "email" ) ); |
$parameters |
$parameters |
$parameters |
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 array( 'timer_id' => 'id_of_timer', If no ID is defined, it will control the first timer in the view (and hopefully the only one) |
$id |
$parameters |
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 array( 'timer_id' => 'id_of_timer', If no ID is defined, it will control the first timer in the view (and hopefully the only one) Difference between stop and pause is that stop timer will also reset it to starting state. |
$id |
$parameters |
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 array( 'timer_id' => 'id_of_timer', If no ID is defined, it will control the first timer in the view (and hopefully the only one). Difference between stop and pause is that stop timer will also reset it to starting state. |
$id |
$parameters |
Clicking the component to which the returned object is attached will close the popup defined in the parameters
$parameters |
Clicking the component to which the returned object is attached will make a list branches call. This call will reload the list of branches and actions. It’s useful when you want to update the state of your app.
$parameters |
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 $array = array( 'sync_open' => '1', 'id' => 'someid', ); |
$parameters |
Clicking the component to which the returned object is attached will open the given url in the browser
$url | // valid url (can be also tel://3391282822 for example) |
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 $array = array( ); |
$url |
$parameters |
Will create a button for adding a calendar event
$parameters |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 $array = array( 'starttime' => time()+700 'endtime' => time()+1400, 'organizer' => 'My Name', 'organizer_email' => 'myemail |
$parameters |
TODO
$title |
$message |
$parameters |
$parameters |
$parameters |
$parameters |
$parameters |
TODO
$parameters |
TODO
$ios_product_id |
$android_product_id |
$subscription |
$parameters |
TODO
$parameters |
TODO
$productid |
$parameters |
Clicking the component to which the returned object is attached will open the app sidemenu. This is often used when you are using a custom header and want to open the side menu when clicking on an icon.
$parameters |
Clicking the component to which the returned object is attached will close the app sidemenu. This is often used when you are using a custom side navigation and want to close the side menu when clicking on an icon.
TODO
$beaconid |
$parameters |
TODO
$region_id |
$parameters |
TODO
$parameters |
TODO
$region_id |
$parameters |
TODO
$adcolony_zone | param string $adcolony_zone . If this is not defined, will use Google interstitial. |
$adcolony_zone |
$parameters |
TODO
$container_id |
$direction |
$parameters |
$container_id |
$parameters |
TODO
$parameters | param array $parameters - share_title, share_description, share_url, share_image |
$scheme_url |
$parameters |
$parameters |
Cancels ongoing upload (if any). Will need a variable as a parameter.
$parameters |
This is used in conjuction with layout onexit[] onclick. This will execute the original onclicks.
$parameters |