Class Index | File Index

Classes


Namespace contract.types

The namespace for the contract interface (to be used by a page builder) for the types contract, which allows you to change the CHIP's type of visualization.
Defined in: actions.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
contract.types.setType(sType)
Informs the CHIP to change it's visualization type to sType.
Namespace Detail
contract.types
Since:
1.32.0
Method Detail
<static> contract.types.setType(sType)
Informs the CHIP to change it's visualization type to sType. In case the CHIP has not attached an handler for this event yet, the contract will call the handler directly while attaching it.
Parameters:
{string} sType
The type to be set. Note: Before comparison sType.toLowerCase() will be used.
Since:
1.32.0
Throws:
Error if sType is not valid.
See:
chip.types.attachSetType
chip.types.getAvailableTypes

©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)