@amirsavand/ngx-common - v5.1.0
    Preparing search index...

    Class LinkGroup

    Link group used for group of links in the UI (tabs, links, etc.).

    Index

    Constructors

    Properties

    access?: () => boolean

    Method that its return value sets value of {@see enable}.

    collapse: InlineStorage<boolean>

    UI collapse status of this link group in form of {@see InlineStorage}.

    enable: boolean = true

    Is enabled? (Should show this link group on UI?).

    id: string

    ID of this link group.

    label: string

    UI label of this link group.

    links: Link[]

    UI links of this link group.

    Methods

    • Set value of {@see enable} using {@see access}.

      Parameters

      • updateLinks: boolean = false
      • disableIfNoActiveLinks: boolean = true

      Returns void

    • Toggle collapse status of this link group.

      Returns void