outsystems-ui - v3.0.0
    Preparing search index...

    Class AbstractParent<C, CT>Abstract

    Defines the Default props and methods for Patterns that will have other Patterns as its childs

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index
    isProviderBased: boolean = false
    • Protected

      Get a child reference by a given Index position

      Parameters

      • index: number

        Index of the item to be returned

      • OptionalchildType: string

        To be based on childType childs collection, otherwise will assume parent only contains one child type!

      Returns CT

      Child Reference

    • Protected

      Get a child index from a given child Id

      Parameters

      • childId: string

        Child id where index will be found

      Returns number

      Index value

    • Method used to notify all children about a given notification type

      Parameters

      • notificationType: string

        Notification type

      Returns void

    • Getter that allows to obtain all the childs when parent only contains childs of one type, otherwise a type must be passed in order to return all child of the given type!

      Parameters

      • Optionaltype: string

        To be based on childType childs collection, otherwise will assume parent only contains one child type!

      Returns CT[]