View layer for the Brazen userscripts framework
This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.sleazyfork.org/scripts/416104/1847197/Brazen%20Framework%20-%20View%20Layer.js
| Dependency | Load order |
|---|---|
| BrazenUtilities.js | Before this file |
Uses SelectorGenerator from the Utilities module.
| Grants | GM_addStyle |
| Run-at | (inherits from consumer) |
Class: BrazenViewLayer
Settings panel (#bv-ui), show/hide strip, tab panels, form buttons, modal (createModal / showModal / hideModal with .bv-compliance-rule-* row layout for rule lists), range/text/checkbox/radio inputs, bookmarks panel (createBookmarksPanel with optional pageMatch URL comparison via isCurrentPageBookmarked / checkPageMatch), sidebar tag-count action slots (enhanceTagSidebarCounts), statistics widgets, horizontal resizer (#bv-resizer). Tab switches call userScript._configurationManager.updateInterface().
Static: BrazenViewLayer.appendToBody(nodes)
Standardized left-edge control panel UI used by all apps built on the Brazen Framework.