2.4
released: 2018-07-01
supported by the following products
- TTKnowledgeForce 14.0
Support for drag and drop api functions removed (Standard- player)
- context context.page.dragAndDrop has been given the status deprecated. Use native browser functions insted.
Support for playmodes extended (Standard- and HTML5 player)
- method metadata.stage.getAvailablePlayModes added
- method metadata.stage.getDefaultPlayMode added
- method metadata.page.getIndividualPlayMode added
Support for amd submodul import added (Standard- and HTML5 player)
- SmartComponents can now use non-library js modules next to their component.js and ui.htm. You can require them by "./myModule".
Support for path structure (page, sections) added (Standard- and HTML5 player)
- method context.stage.navigation.nextSection added
- method context.stage.navigation.previousSection added
- method metadata.stage.getMainPath added
Support for deeper interaction handling added (HTML5 player)
- method context.page.interaction.provokesFeedback added
- method context.page.interaction.provokesAutosolve added
2.3
released: 2017-02-24
supported by the following products
- TTKnowledgeForce 13.0
- TTKnowledgeForce 13.1
Support for explicit saving of data from the ui dialog added (TTKF UI)
- GUI API: method saveChanges added
- GUI API: method getApiVersion added
Support for e-learning interactions added (Standard and HTML5 player)
- InteractionContext added to page context
- InteractionEventContext added to InteractionContext
- method bindOnCorrect added to InteractionEventContext
- method bindOnWrong added to InteractionEventContext
Support for navigation function "repeat" added (HTML5 player, already included in the standard player api)
- method context.stage.navigation.repeat added
Support for TTKF trigger player added (HTML5 player, already included in the standard player)
- method context.page.event.trigger added
Support for playmodes added (HTML5 player, already included in the standard player api)
- method context.stage.navigation.switchToInteractiveMode added
- method context.stage.navigation.isInInteractiveMode added
- method context.stage.navigation.switchToPresentationMode added
- method context.stage.navigation.isInPresentationMode added
- method context.stage.navigation.switchToFilmMode added
- method context.stage.navigation.isInFilmMode added
- method context.stage.events.bindOnPlayModeChanged added
- method context.page.events.bindOnPlayModeChanged has been given the status deprecated. Use context.stage.events.bindOnPlayModeChanged insted.
2.2
released: 2016-05-12
Initial release of the API
supported by the following products
- TTKnowledgeForce 12.0
- TTKnowledgeForce 12.1