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

    Interface IChild

    Defines the interface for a Pattern that will be a child of other Pattern

    IChild

    interface IChild {
        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;
        isBuilt: boolean;
        selfElement: HTMLElement;
        uniqueId: string;
        widgetId: string;
        changeProperty(propertyName: string, propertyValue: unknown): void;
        registerCallback(eventName: string, callback: OSGeneric): void;
        equalsToID(id: string): boolean;
    }

    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

    • Method used to be notified by the parent

      Parameters

      • notificationType: string

        Notification type

      Returns void

      OSFramework.Interface.IChild

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

      Parameters

      • propertyName: string
      • propertyValue: unknown

      Returns void

      OSFramework.Interface.IPattern