Anchor
Callable
Parameters
packageName: string
The name of the package under which the anchor is registered. Selecting a unique package name helps avoid collisions between same anchor class names across different libraries. You will reuse the same package name throughout your library for different Octo components you create.
Returns (constructor: any) => void
The decorated class.
Parameters
constructor: any
Returns void
An
@Anchoris a class decorator and must be placed on top of a class representing an anchor.Decorators
Definition of Anchors.