Options
All
  • Public
  • Public/Protected
  • All
Menu

Markup templates are bound to views, and provide the ability to create the symbol that they represent.

param

The symbol type. One of SymbolType, should always correctly reflect the subtype of the template.

param

The name of this symbol. Will be read in from the 'name' property in the supplied symbol JSON.

param

Lazy Observable that returns a unique hash for this template. Used to match edited symbols with templates.

param

Is this template currently selected? Used when bound to a view in groups.

param

A method which produces the symbol this template represents.

param

A method which produces the JSON string representing this template's symbol

Hierarchy

Index

Properties

hash

hash: LazyObservable<number>

name

name: string

selected

selected: Observable<boolean>

toJsonString

toJsonString: function

Type declaration

    • (): string
    • Returns string

toSymbol

toSymbol: function

Type declaration

    • (): Symbol
    • Returns Symbol

type

type: string