HTMLColorTintElement
Hierarchy
- HTMLElement
- HTMLColorTintElement
Index
Constructors
constructor
Returns HTMLColorTintElement
Properties
defaultValue
Sets or retrieves the initial contents of the object.
See HTMLInputElement.defaultValue
internals_
staticformAssociated
staticobservedAttributes
Accessors
brightness
Get or set the color brightness on a scale of 0 to 255.
Returns number
Parameters
value: number
Returns void
disabled
See HTMLInputElement.disabled
Returns boolean
Parameters
value: boolean
Returns void
hue
Get or set the color hue on a scale of 0 to 360.
Returns number
Parameters
value: number
Returns void
name
Sets or retrieves the name of the object.
See HTMLInputElement.name
Returns string
Parameters
value: string
Returns void
saturation
Get or set the color saturation on a scale of 0 to 255.
Returns number
Parameters
value: number
Returns void
validationMessage
Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
See HTMLInputElement.validationMessage
Returns string
validity
Returns a ValidityState object that represents the validity states of an element.
See HTMLInputElement.validity
Returns ValidityState
value
Sets or retrieves the initial contents of the object.
See HTMLInputElement.value
Returns string
Parameters
value: string
Returns void
valueAsHSV
Methods
attributeChangedCallback
Parameters
name: string
oldValue: string
newValue: string
Returns void
connectedCallback
Returns void
removeAttribute
Parameters
qualifiedName: string
Returns void
reportValidity
See HTMLInputElement.reportValidity
Returns boolean
setAttribute
Parameters
qualifiedName: string
value: any
Returns void
HTML element for color tint pickers, functioning as some kind of 2D
<input type='range'>input for selecting the color's saturation and brightness.