HomeWeb Components API Reference - v0.7.1
    Preparing search index...

    Class LayoutGroupComponentElement

    The LayoutGroupComponentElement interface provides properties and methods for manipulating <pc-layoutgroup> elements. The LayoutGroupComponentElement interface also inherits the properties and methods of the HTMLElement interface.

    Hierarchy (View Summary)

    Index

    Accessors

    • get component(): LayoutGroupComponent | null

      Gets the underlying PlayCanvas layout group component.

      Returns LayoutGroupComponent | null

      The layout group component.

    • get enabled(): boolean

      Gets the enabled state of the component.

      Returns boolean

      The enabled state of the component.

    • set enabled(value: boolean): void

      Sets the enabled state of the component.

      Parameters

      • value: boolean

        The enabled state of the component.

      Returns void

    • get reverseX(): boolean

      Gets whether the order of children is reversed along the horizontal axis.

      Returns boolean

      Whether the horizontal order is reversed.

    • set reverseX(value: boolean): void

      Sets whether the order of children is reversed along the horizontal axis.

      Parameters

      • value: boolean

        Whether to reverse the horizontal order.

      Returns void

    • get reverseY(): boolean

      Gets whether the order of children is reversed along the vertical axis.

      Returns boolean

      Whether the vertical order is reversed.

    • set reverseY(value: boolean): void

      Sets whether the order of children is reversed along the vertical axis.

      Parameters

      • value: boolean

        Whether to reverse the vertical order.

      Returns void

    Methods