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

ValueBasedStylerConstructor overview

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


Table of contents


Constructors

fromOption

Builds a ValueBasedStyler (see ValueBasedStyler.ts) from the partName style of the provided option.styleMap (see StyleMap.ts)

Signature

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

Models

Type (interface)

Type of a ValueBasedStylerConstructor

Signature

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