Skip to main content Link Search Menu Expand Document (external link)

MarkShowerConstructor overview

This module implements a Type that builds a MarkShower (see MarkShower.ts) from an Option (see Option.ts) and a markName


Table of contents


Constructors

fromOption

Creates a MarkShowerConstructor that will return a MarkShower from markName and option. Concretely, this markShower will display the text attached to markName in option.markMap using the reversed action of the ValueBasedContextStyler attached to markName in option.markMap

Signature

export declare const fromOption: (option: PPOption.Type) => Type

Models

Type (interface)

Type of a MarkShowerConstructor

Signature

export interface Type extends MTypes.OneArgFunction<string, PPMarkShower.Type> {}