outsystems-ui - v2.30.0
    Preparing search index...

    Defines the interface for OutSystemsUI AccordionItem Pattern

    interface IAccordionItem {
        build(): void;
        beNotifiedByParent?(notificationType: string): void;
        get isFirstChild(): boolean;
        set isFirstChild(value: boolean): void;
        get isLastChild(): boolean;
        set isLastChild(value: boolean): void;
        setBlur?(): void;
        setFocus?(): void;
        setTabindex?(): void;
        unsetTabindex?(): void;
        dispose(): void;
        close(): void;
        open(isOpenedByApi?: boolean): void;
        isBuilt: boolean;
        selfElement: HTMLElement;
        uniqueId: string;
        widgetId: string;
        changeProperty(propertyName: string, propertyValue: unknown): void;
        registerCallback(eventName: string, callback: OSGeneric): void;
        equalsToID(id: string): boolean;
        isDisabled: boolean;
        isOpen: boolean;
        allowTitleEvents(): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    isBuilt: boolean

    Indicates if the instance of the pattern is built.

    OSFramework.Interface.IPattern

    selfElement: HTMLElement

    Pattern HTML element

    OSFramework.Interface.IPattern

    uniqueId: string

    Internal Id of the instance of the pattern.

    OSFramework.Interface.IPattern

    widgetId: string

    External Id of the instance of the pattern

    OSFramework.Interface.IPattern

    isDisabled: boolean

    Returns the value of disable state

    IAccordionItem

    isOpen: boolean

    Returns the value of open state

    IAccordionItem

    • Method signature to change the properties/configs of the pattern.

      Parameters

      • propertyName: string
      • propertyValue: unknown

      Returns void

      OSFramework.Interface.IPattern