Skip to main content

PropertyOpacityLoad

Callable


  • Load function for items with opacity sliders. Constructs the opacity slider.


    Parameters

    • Data: ExtendedItemData<any>

      The items extended item data

    • OriginalFunction: () => void

      The function that is normally called when an archetypical item reaches this point (if any).

      • thumbIcon: ThumbIcon = "blindfold"

        The icon to use for the range input's "thumb" (handle).

      Returns HTMLInputElement

      • The new or pre-existing range input element of the opacity slider