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

    Class that represents the custom configurations received by the Notification.

    Hierarchy (View Summary)

    Index
    ExtendedClass: string

    CSS classes added to the pattern root.

    CloseAfterTime: number

    Milliseconds after which the notification closes itself; 0 or undefined keeps it open.

    InteractToClose: boolean

    Closes the notification on interaction outside it (click outside or Escape); ignored on native apps.

    NeedsSwipes: boolean

    Enables swipe gestures to dismiss the notification.

    Position: string

    Screen position: top (default), top-left, top-right, bottom, bottom-left, bottom-right or center.

    StartsOpen: boolean

    Shows the notification as soon as it is built.

    Width: string

    Width of the notification (CSS length); 370px by default.

    • Protected

      Method that helps to validate if a given value is within a range of values.

      Parameters

      • value: unknown

        Value received in the configs

      • defaultValue: unknown

        Value used when the given one is missing or invalid

      • ...args: unknown[]

        Allowed values

      Returns unknown