Member Junction
    Preparing search index...

    [mjSharePanel]: marks its element as a panel the user can share on its own. While the element is on screen, a call's Share menu lists it under "This panel" by its label, and sharing it shows only this element. Where the browser cannot share a single panel (anything but Chrome and Edge on the desktop), nothing is listed.

    An empty or null label leaves the element unmarked, so a host can mark it conditionally. The directive adds no style, class or ARIA to its element and moves no focus; it registers the element with the app's SharePanelRegistry and takes it off again when it goes away.

    <mj-tab-container mjSharePanel="Main content" mjSharePanelIcon="fa-solid fa-table-cells-large"></mj-tab-container>
    <div [mjSharePanel]="shareable ? title : null" [mjSharePanelIcon]="icon">…</div>

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get Icon(): string | null

      Returns string | null

    • set Icon(value: string | null): void

      Font Awesome classes for the panel's menu item, such as fa-solid fa-chalkboard. Optional.

      Parameters

      • value: string | null

      Returns void

    • get Label(): string | null

      Returns string | null

    • set Label(value: string | null): void

      The panel's name in the Share menu and in the share preview, such as "Whiteboard". Empty or null: not shareable.

      Parameters

      • value: string | null

      Returns void

    Methods

    • 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 is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns void