Class Index | File Index

Classes


Namespace chip.actions

The namespace for the CHIP API's actions contract, which allows you to provide a CHIP's actions with all related functionality.
Defined in: actions.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
chip.actions.setActionsProvider(fnProvider)
Determines the callback function which provides the internal actions for this CHIP.
Namespace Detail
chip.actions
Since:
1.25.0
Method Detail
<static> chip.actions.setActionsProvider(fnProvider)
Determines the callback function which provides the internal actions for this CHIP. The callback has to return an array of actions. Action is an object with the following properties: text, icon and targetURL or a press handler.
Parameters:
{function} fnProvider
a callback which returns an array of action objects representing this CHIP's internal actions.
Since:
1.25.0

©Copyright (c) 2009-2014 SAP SE, All Rights Reserved
Documentation generated by JsDoc Toolkit 2.4.0 on Tue Mar 14 2017 08:48:14 GMT-0000 (UTC)