abstractAAnchor <S, T>
Implements
- IAnchor<S, T>
Index
Properties
Methods
Properties
readonlyanchorId
The ID of the anchor, unique within its parent.
readonlyproperties
The properties this anchor exposes to whoever matches on it.
staticreadonlyNODE_PACKAGE
The package of the anchor.
Methods
getParent
The model that declared this anchor.
Returns T
The base class of every anchor - a model's public face.
A model is an implementation detail of the library that defines it, and other libraries should not depend on its class. An anchor is what a model exposes instead: a small, named set of properties that other modules match on, using AModel.getAnchorsMatchingSchema. That indirection is what lets a model change without breaking its consumers.
Anchors are also the inputs an AOverlay joins together.
Overlays
Definition of Anchors.