Overlay
Callable
Type parameters
- T: UnknownOverlay
Parameters
packageName: string
The name of the package under which the overlay is registered. Selecting a unique package name helps avoid collisions between same overlay class names across different libraries. You will reuse the same package name throughout your library for different Octo components you create.
overlayName: string
a string that uniquely represents the name of the overlay.
schema: Constructable<OverlaySchema<T>>
The schema of the overlay.
Returns (constructor: any) => void
The decorated class.
Parameters
constructor: any
Returns void
An
@Overlay
is a class decorator and must be placed on top of a class representing an overlay.Decorators
Definition of Overlays.