back to the documentation homepage
jsTree v.1.0
themeroller plugin
Description
The themeroller
plugin adds support for jQuery UI's themes. Add the plugin as last in your plugins
config option. Also make sure that you have included the jquery theme you'd like to use and you should NOT use the native jstree themes
plugin.
If using the search plugin - bind to "search.jstree"
to style the found nodes, or apply some styles to the .jstree-search
class (which is added by default) but make sure the selector is stronger than your current theme or use !important
Configuration
opened
The class name to use for open nodes (shows the arrow to close).
closed
The class name to use for closed nodes (shows the arrow to open).
item
The class name to use for the actual items.
item_h
The class name to use for the hovered item.
item_a
The class name to use for selected items (UI plugin).
item_open
The class name to use for the opened items. If set to false
the icon is not shown.
item_clsd
The class name to use for the opened items. If set to false
the icon is not shown.
item_leaf
The class name to use for the opened items. If set to false
the icon is not shown.
Demos
Using the themeroller plugin
API
._themeroller ( obj )
Fixes the tree on various events by applying the configured classes - used internally only.