Defines the interface for OutSystemsUI Patterns

Hierarchy-Diagram

UML class diagram of Rating
Legend
icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class
icon for an interface in the UML class diagram interface
icon for a public property in the UML class diagram public property
icon for a protected property in the UML class diagram protected property
icon for a private property in the UML class diagram private property
icon for a public method in the UML class diagram public method
icon for a protected method in the UML class diagram protected method
icon for a private method in the UML class diagram private method
italic abstract property/method

Hierarchy

Implements

Properties

isProviderBased: boolean = false
_clonedPlaceholders: string
_decimalValue: number
_disabled: boolean
_eventOnRatingClick: Generic
_eventOnRatingInputKeyup: Generic
_isHalfValue: boolean
_platformEventOnSelect: OSGeneric
_ratingFieldsetElem: HTMLElement
_ratingIconStatesElem: HTMLElement
_ratingInputName: string

Methods

  • Private

    Method that handles the click event and set the new value, by checking the input:checked

    Memberof

    Rating

    Parameters

    • e: MouseEvent

    Returns void

  • Private

    Method called on createItems() to render the correct HTML structure for each item

    Memberof

    Rating

    Parameters

    • index: number

    Returns void

  • Private

    Method to set a rating value

    Returns

    {void}

    Memberof

    Rating

    Parameters

    • Optional triggerEvent: boolean = false

    Returns void

  • Private

    Method used to manage the Rating inputs events, they will be only set when IsEdit=False

    • This is needed in order to grant keyboard behaves like ckick, in order to avoid user be able to select any star by using keyboard navigation when IsEdit=False!

    Memberof

    Rating

    Parameters

    • add: boolean

      Flag to indicates if events should be added or removed.

    Returns void

Accessors

  • get _enableAccessibility(): boolean
  • Protected

    Getter that allows to obtain the accessibility is enabled.

    Memberof

    OSFramework.Patterns.AbstractPattern

    Returns boolean

Constructors