using the API - show you how to use the API
selected event - do something on item selection change
extended selected event - do something on item selection change
using links - open a page on item click
using links only for tree leaves - open a page on item click
using hash/anchors - scroll to an anchor on item click
using hash/anchors only for tree leaves - scroll to an anchor on item click