Interface JSTreeStaticDefaultsState

Index

Properties

Properties

public events: string

A space separated list of events that trigger a state save. Defaults to changed.jstree open_node.jstree close_node.jstree.

name

$.jstree.defaults.state.events

plugin

state

public filter: any

A function that will be executed prior to restoring state with one argument - the state object. Can be used to clear unwanted parts of the state.

name

$.jstree.defaults.state.filter

plugin

state

public key: string

A string for the key to use when saving the current tree (change if using multiple trees in your project). Defaults to jstree.

name

$.jstree.defaults.state.key

plugin

state

public ttl: any

Time in milliseconds after which the state will expire. Defaults to 'false' meaning - no expire.

name

$.jstree.defaults.state.ttl

plugin

state