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: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires before the rendering of the JsonTree.js of an element.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when the rendering of the JsonTree.js for an element is complete.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when the element is destroyed (reverted to its original state).
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when the selected items in the element are changed.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when a boolean value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when a decimal value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when a number value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when a string value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when a date value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when a function value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when a null value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when an unknown value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when an bigint value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when an symbol value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when an GUID value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when an color value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when an RegExp value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when an Url value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when an image value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when an email value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when a lambda function value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: valueElement: 'Object' - The value element that was rendered.
Fires when a lambda function value is rendered.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: value: 'Object' - The JSON property/index value.
Returns: Object | boolean' - A false flag that states if custom type rendering is disabled for the value, or the "CustomDataType" object format for a custom type.
Fires when all the JSON is copied to the clipboard.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: data: 'string' - The JSON that was copied to the clipboard.
Fires when all the JSON nodes are opened.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when all the JSON nodes are closed.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when moving back a page (when showing arrays as pages).
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when moving forward a page (when showing arrays as pages).
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when the JSON data is changed.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when a property name/value is edited.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when the JSON being viewed is exported.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Fires when all the JSON is copied to the clipboard.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: flag: 'boolean' - States if full-screen mode is enabled.
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 a value is clicked.
Parameter: jsonTreeElement: 'Object' - The JsonTree DOM element.
Parameter: value: 'Object' - The value.
Parameter: type: 'string' - The value type.