@zebra-fed/zeta-web
    Preparing search index...

    Class ZetaCardContainer

    A card component with a header and optional content that can be collapsible.

    • The main content of the card. If collapsible is true, this content will be hidden when the card is collapsed.

    Hierarchy

    • ContourableInterface<this> & LitElement<this>
      • ZetaCardContainer
    Index

    Other

    • Returns ZetaCardContainer

    ai: boolean = false

    Whether the card is an AI card, which may have different styling or behavior.

    This is primarily used for AI-related components.

    collapsible: boolean = false

    Whether the card is collapsible.

    Slotted content must be provided for the collapsible functionality to work.

    description: string

    Description of the card, displayed in the header.

    expanded: boolean = false

    Whether the card is expanded or collapsed.

    If collapsible is true, this property controls the initial state of the card.

    required: boolean = false

    Whether the card is required, indicated by a red asterisk (*) in the header.

    rounded: boolean
    title: string

    The title of the card, displayed in the header.

    styles: CSSResultGroup[] = ...

    rendering

    • Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

      Returns TemplateResult<1>