Skip Navigation
Type PropertyProperty

sidebarScript

The script that enhances the shared sidebar document when JavaScript is available.

static var sidebarScript: String { get }

Discussion

The script applies the reader’s colour scheme (from local storage and from messages posted by the embedding page), marks the target row as the current page for assistive technologies, scrolls the list only when the target row would otherwise be out of view, reveals the filter field and filters the tree by title, and focuses the filter on request of the embedding page or when / is pressed.