AlignedStencil

Type: Class

Aligned stencils can be created using the functions on Stencil

Constructor arguments

  1. gaps

    (Required)

  2. blueprint

    (Required)

  3. dom

    (Required)

  4. stencilMetadata

    (Required)

Properties

dom

Type: Node

Holds the root of this stencil

Methods

getGapMetadata

Type: Function

Get the metadata for the specified gap

The metadata describes properties of the gap, namely: type, multiplicity, requiredness and emptyness

Arguments

Returns

getRange

Type: Function

Get a captured range.

Arguments

Returns

getValue

Type: Function

Get the contents of a given gap

Arguments

Returns

setValue

Type: Function

Set the contents of a gap

Arguments