Skip Navigation
Type PropertyProperty

script

The script that remembers the reader’s choice and applies it to the page.

static var script: String { get }

Discussion

The script restores the scheme stored under colourSchemeStorageKey, checks the matching radio button, records the scheme in schemeAttribute and posts it to the embedded sidebar with colourSchemeMessage. Choosing a scheme stores it.