Syntax.js - Documentation - Binding Options - Custom Triggers
Below is a list of all the binding options custom triggers supported in Syntax.js, which are fired when specific actions occur.
Download Now
Below is a list of all the binding options custom triggers supported in Syntax.js, which are fired when specific actions occur.
Download Now
Fires before the rendering of the syntax of an element.
Parameter: element: object - The DOM element that is going to be rendered.
Fires when the rendering of the syntax for an element is complete.
Parameter: element: object - The DOM element that was rendered.
Fires when a keyword is rendered.
Parameter: keyword: string - The keyword that was rendered.
Fires when a value is rendered.
Parameter: value: string - The value that was rendered.
Fires when a attribute is rendered.
Parameter: attribute: string - The attribute that was rendered.
Fires when a string is rendered.
Parameter: string: string - The string that was rendered.
Fires when a comment is rendered.
Parameter: comment: string - The comment that was rendered.
Fires when the "Copy" button is pressed.
Parameter: code: string - The string that was copied to the clipboard.
Fires when a keyword is clicked in the code syntax.
Parameter: keyword: string - The keyword that was clicked.
Fires when a value is clicked in the code syntax.
Parameter: value: string - The value that was clicked.
Fires when a attribute is clicked in the code syntax.
Parameter: attribute: string - The attribute that was clicked.
Fires when the "Print" button is pressed.
Parameter: code: string - The string that was sent to the printer.
Fires when the buttons are closed.
Fires when the buttons are opened.