MediaSFU Angular
    Preparing search index...

    Class WithOverrideDirective

    Directive: appWithOverride

    Apply UI overrides to components dynamically. This directive checks for overrides and either:

    1. Renders the custom component if an override exists
    2. Renders the default component if no override exists

    Usage:

    <ng-container
    *appWithOverride="'mainContainer';
    default: defaultMainContainer;
    props: componentProps">
    </ng-container>

    Implements

    • OnChanges
    • OnDestroy
    • DoCheck
    Index

    Accessors

    • get appWithOverrideProps(): | Record<string, any>
      | (() => Record<string, any>)
      | undefined

      Returns Record<string, any> | (() => Record<string, any>) | undefined

    Constructors

    Methods

    • A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.

      Parameters

      • changes: SimpleChanges

        The changed properties.

      Returns void

    • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

      Returns void

    • A callback method that performs change-detection, invoked after the default change-detector runs. See KeyValueDiffers and IterableDiffers for implementing custom change checking for collections.

      Returns void

    Properties

    appWithOverride: keyof MediasfuUICustomOverrides
    default: Type$1<any>
    props?: Record<string, any> | (() => Record<string, any>)
    customInjector?: Injector