orxapi.tools.clickable
The clickable tools library for orxapi.
Getting Started
If you haven't used NodeJs before, be sure to have install the LTS version on your desktop ! Check your version with this command:
node -vv6.9.2
Installation
npm install orxapi.plugins.tabs --save
dependencies
Warning: update version 1 to version 2
The orxapi.tools.clickable is new API, be careful if you update from 1.x.x
The callback method is remove and replace by before method, see use for more information.
Information
This library is written in TypeScript, but you can use JavaScript.
Direct download
Download the script here and include it (unless you are packaging scripts somehow else):
Standalone: You can use the standalone version into bundle directory. The bundle contains a minimized version of the clickable tools with a Fuse Box Quantum API.
Min: If you want use other orxapi tools or plugins choose the min bundle and add external api.
...
You access to the methods by the namespace "orxapiToolsClickable" see the exemple JavaScript
Package Managers
Tools Clickable supports npm under the name "orxapi.tools.clickable".
Usage
TypeScript code
; // Default clickableinitClickable; // Special clickable initialize with custom callblackinitClickable; // Delete the default clickable eventdeleteClickable;
JavaScript code
{ // Default clickable orxapiToolsClickable; // Custom clickable orxapiToolsClickable; }jQuery;
HTML code
<!-- Default usage --> Orchestra ... More information <!-- With target --> Travelsoft ... More group information <!-- With encode uri --> Orchestra More information <!-- Escape internal trigger element --> Orchestra More group information More information
Methods
- initClickable Initialize the clickable delegate event.
- deleteClickable Delete the clickable delegate event
See docs for more information
Compatibility
This library was designed to work with ES 5+
Tested with browsers
Internet Explorer 11, Edge, Chrome, Firefox
TODO
- Add examples
- Add unit tests
- Add functional tests
- Add documentation of the optional parameters
- Improve the documentation