This context provides legacy navigation methods that will not support in future versions of the TTKF-Player (HTML5-player).
Methods
-
<inner> bindOnDialogClosed(component)
-
Binds a component method to the onDialogClosed event that is sent by the TTKF Player.
Preconditions:
- The stated component must provide an "onDialogClosed" method.
Callback time point:
- All open player dialogs are closed by the user.
Parameters:
Name Type Description component
Component The component that provides the specified callback method.
-
<inner> closeDialog(name)
-
Hides all open dialogs or a specific dialog displayed by the TTKF Player.
Parameters:
Name Type Description name
string The name of the frame. You can use an empty value to close all open frames.
-
<inner> evaluateQuiz()
-
Tells the TTKF Player to evaluate a quiz. Only available on quiz pages.
-
<inner> exit()
-
Terminates the E-Learning, prompting the user for confirmation (dialog).
-
<inner> showBestPracticeSolution()
-
Switches to the best practice result. Only available on quiz pages.
-
<inner> showContact()
-
Shows the contact dialog.
-
<inner> showGlossary()
-
Shows the glossary dialog.
-
<inner> showHelp()
-
Shows the help dialog.
-
<inner> showImprint()
-
Shows the imprint dialog.
-
<inner> showInfo()
-
Shows external info page.
-
<inner> showSitemap()
-
Shows the sitemap dialog.
-
<inner> showUserSolution()
-
Tells the TTKF Player to switch to the user solution mode. As a result, the player sends
the onUserSolution event and will displaying the result for the current quiz page.
Only available on quiz pages. -
<inner> terminateQuiz()
-
Terminates a quiz/E-Learning with built-in confirmation dialog. Only available on quiz pages.