Skip to main content

Anchor

Callable

  • Anchor(): (constructor: any) => void

  • An @Anchor is a class decorator to be placed on top of a class that represents an anchor.

    • An anchor must extend the AAnchor class.
    @example
    @Anchor()
    export class MyAnchor extends AAnchor { ... }
    @see

    Definition of Anchors.


    Returns (constructor: any) => void

    The decorated class.

      • (constructor: any): void
      • Parameters

        • constructor: any

        Returns void