JsonTree.js - Documentation - Binding Options - Custom Triggers
Below is a list of all the binding options custom triggers supported in JsonTree.js, which are fired when specific actions occur.
Download Now
Below is a list of all the binding options custom triggers supported in JsonTree.js, which are fired when specific actions occur.
Download Now
Fires when a rendered element is refreshed.
Parameter: element: 'Object' - The element that was refreshed.
Fires before the rendering of the JsonTree.js of an element.
Parameter: element: 'object' - The DOM element that is going to be rendered.
Fires when the rendering of the JsonTree.js for an element is complete.
Parameter: element: 'object' - The DOM element that was rendered.
Fires when the element is destroyed (reverted to its original state).
Parameter: element: 'object' - The DOM element that was destroyed.
Fires when a boolean value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when a decimal value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when a number value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when a string value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when a date value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when a function value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when a null value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when an unknown value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when an bigint value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when an symbol value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when an GUID value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when an color value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when an RegExp value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when an Url value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when an image value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when an email value is rendered.
Parameter: element: 'Object' - The value element that was rendered.
Fires when all the JSON is copied to the clipboard.
Parameter: data: 'string' - The JSON that was copied to the clipboard.
Fires when all the JSON nodes are opened.
Parameter: element: 'Object' - The DOM element.
Fires when all the JSON nodes are closed.
Parameter: element: 'Object' - The DOM element.
Fires when moving back a page (when showing arrays as pages).
Parameter: element: 'Object' - The DOM element.
Fires when moving forward a page (when showing arrays as pages).
Parameter: element: 'Object' - The DOM element.
Fires when the JSON data is changed.
Parameter: element: 'Object' - The DOM element.
Fires when the "Copy" button is pressed, and gets the result that should be used for values when copying the JSON to the clipboard.
Parameter: key: 'string' - The name of the property.
Parameter: value: 'Object' - The value of the property.
Fires when a property name/value is edited.
Parameter: element: 'Object' - The DOM element.
Fires when the JSON being viewed is exported.
Parameter: element: 'Object' - The DOM element.
Fires when a a value is clicked.
Parameter: value: 'Object' - The value.
Parameter: type: 'string' - The value type.