com.olvind.mui.muiMaterial.sliderSliderMod.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.muiMaterial
import com.olvind.mui.muiMaterial.anon.Arialabel
import com.olvind.mui.muiMaterial.anon.DefaultComponentPropsSliderTypeMapspan
import com.olvind.mui.muiMaterial.anon.Mark
import com.olvind.mui.muiMaterial.anon.MarkLabel
import com.olvind.mui.muiMaterial.anon.PartialSliderClasses
import com.olvind.mui.muiMaterial.anon.Rail
import com.olvind.mui.muiMaterial.overridableComponentMod.OverrideProps
import com.olvind.mui.muiMaterial.stylesCreateThemeMod.Theme
import com.olvind.mui.muiSystem.styleFunctionSxStyleFunctionSxMod.SxProps
import com.olvind.mui.muiSystem.styleFunctionSxStyleFunctionSxMod.SystemStyleObject
import com.olvind.mui.react.anon.Html
import com.olvind.mui.react.mod.AnimationEventHandler
import com.olvind.mui.react.mod.AriaRole
import com.olvind.mui.react.mod.Booleanish
import com.olvind.mui.react.mod.CSSProperties
import com.olvind.mui.react.mod.ClipboardEventHandler
import com.olvind.mui.react.mod.CompositionEventHandler
import com.olvind.mui.react.mod.DragEvent
import com.olvind.mui.react.mod.DragEventHandler
import com.olvind.mui.react.mod.FocusEventHandler
import com.olvind.mui.react.mod.FormEventHandler
import com.olvind.mui.react.mod.HTMLAttributes
import com.olvind.mui.react.mod.Key
import com.olvind.mui.react.mod.KeyboardEventHandler
import com.olvind.mui.react.mod.LegacyRef
import com.olvind.mui.react.mod.MouseEventHandler
import com.olvind.mui.react.mod.PointerEventHandler
import com.olvind.mui.react.mod.ReactEventHandler
import com.olvind.mui.react.mod.TouchEventHandler
import com.olvind.mui.react.mod.TransitionEventHandler
import com.olvind.mui.react.mod.UIEventHandler
import com.olvind.mui.react.mod.WheelEventHandler
import com.olvind.mui.react.mod.global.JSX.Element
import org.scalablytyped.runtime.Shortcut
import org.scalajs.dom.Event
import org.scalajs.dom.EventTarget
import org.scalajs.dom.HTMLSpanElement
import slinky.core.ReactComponentClass
import slinky.core.SyntheticEvent
import slinky.core.facade.ReactElement
import slinky.core.facade.ReactRef
import slinky.web.SyntheticAnimationEvent
import slinky.web.SyntheticClipboardEvent
import slinky.web.SyntheticCompositionEvent
import slinky.web.SyntheticFocusEvent
import slinky.web.SyntheticKeyboardEvent
import slinky.web.SyntheticMouseEvent
import slinky.web.SyntheticPointerEvent
import slinky.web.SyntheticTouchEvent
import slinky.web.SyntheticTransitionEvent
import slinky.web.SyntheticUIEvent
import slinky.web.SyntheticWheelEvent
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
object sliderSliderMod extends Shortcut {
/**
*
* Demos:
*
* - [Slider](https://mui.com/material-ui/react-slider/)
*
* API:
*
* - [Slider API](https://mui.com/material-ui/api/slider/)
*/
@JSImport("@mui/material/Slider/Slider", JSImport.Default)
@js.native
val default: js.Function1[/* props */ DefaultComponentPropsSliderTypeMapspan, Element] = js.native
@JSImport("@mui/material/Slider/Slider", "SliderMark")
@js.native
val SliderMark: ReactComponentClass[SliderMarkProps] = js.native
@JSImport("@mui/material/Slider/Slider", "SliderMarkLabel")
@js.native
val SliderMarkLabel: ReactComponentClass[SliderMarkLabelProps] = js.native
@JSImport("@mui/material/Slider/Slider", "SliderRail")
@js.native
val SliderRail: ReactComponentClass[SliderRailProps] = js.native
@JSImport("@mui/material/Slider/Slider", "SliderRoot")
@js.native
val SliderRoot: ReactComponentClass[SliderRootProps] = js.native
@JSImport("@mui/material/Slider/Slider", "SliderThumb")
@js.native
val SliderThumb: ReactComponentClass[SliderThumbProps] = js.native
@JSImport("@mui/material/Slider/Slider", "SliderTrack")
@js.native
val SliderTrack: ReactComponentClass[SliderTrackProps] = js.native
@JSImport("@mui/material/Slider/Slider", "SliderValueLabel")
@js.native
val SliderValueLabel: ReactComponentClass[SliderValueLabelProps] = js.native
trait SliderComponentsPropsOverrides extends StObject
type SliderMarkLabelProps = /* import warning: importer.ImportType#apply Failed type conversion: std.NonNullable<@mui/material.anon.Mark | undefined>['markLabel'] */ js.Any
type SliderMarkProps = /* import warning: importer.ImportType#apply Failed type conversion: std.NonNullable<@mui/material.anon.Mark | undefined>['mark'] */ js.Any
/* Inlined parent @mui/material.@mui/material/Slider/Slider.SliderProps<@mui/material.@mui/material/Slider/Slider.SliderTypeMap<'span', {}>['defaultComponent'], {}> */
trait SliderOwnerState extends StObject {
var about: js.UndefOr[String] = js.undefined
var accessKey: js.UndefOr[String] = js.undefined
var `aria-activedescendant`: js.UndefOr[String] = js.undefined
var `aria-atomic`: js.UndefOr[Booleanish] = js.undefined
var `aria-autocomplete`: js.UndefOr["none" | "inline" | "list" | "both"] = js.undefined
var `aria-busy`: js.UndefOr[Booleanish] = js.undefined
var `aria-checked`: js.UndefOr[Boolean | "mixed"] = js.undefined
var `aria-colcount`: js.UndefOr[Double] = js.undefined
var `aria-colindex`: js.UndefOr[Double] = js.undefined
var `aria-colspan`: js.UndefOr[Double] = js.undefined
var `aria-controls`: js.UndefOr[String] = js.undefined
var `aria-current`: js.UndefOr[Boolean | "page" | "step" | "location" | "date" | "time"] = js.undefined
var `aria-describedby`: js.UndefOr[String] = js.undefined
var `aria-details`: js.UndefOr[String] = js.undefined
var `aria-disabled`: js.UndefOr[Booleanish] = js.undefined
var `aria-dropeffect`: js.UndefOr["none" | "copy" | "execute" | "link" | "move" | "popup"] = js.undefined
var `aria-errormessage`: js.UndefOr[String] = js.undefined
var `aria-expanded`: js.UndefOr[Booleanish] = js.undefined
var `aria-flowto`: js.UndefOr[String] = js.undefined
var `aria-grabbed`: js.UndefOr[Booleanish] = js.undefined
var `aria-haspopup`: js.UndefOr[Boolean | "menu" | "listbox" | "tree" | "grid" | "dialog"] = js.undefined
var `aria-hidden`: js.UndefOr[Booleanish] = js.undefined
var `aria-invalid`: js.UndefOr[Boolean | "grammar" | "spelling"] = js.undefined
var `aria-keyshortcuts`: js.UndefOr[String] = js.undefined
/**
* The label of the slider.
*/
var `aria-label`: js.UndefOr[String] = js.undefined
/**
* The id of the element containing a label for the slider.
*/
var `aria-labelledby`: js.UndefOr[String] = js.undefined
var `aria-level`: js.UndefOr[Double] = js.undefined
var `aria-live`: js.UndefOr["off" | "assertive" | "polite"] = js.undefined
var `aria-modal`: js.UndefOr[Booleanish] = js.undefined
var `aria-multiline`: js.UndefOr[Booleanish] = js.undefined
var `aria-multiselectable`: js.UndefOr[Booleanish] = js.undefined
var `aria-orientation`: js.UndefOr["horizontal" | "vertical"] = js.undefined
var `aria-owns`: js.UndefOr[String] = js.undefined
var `aria-placeholder`: js.UndefOr[String] = js.undefined
var `aria-posinset`: js.UndefOr[Double] = js.undefined
var `aria-pressed`: js.UndefOr[Boolean | "mixed"] = js.undefined
var `aria-readonly`: js.UndefOr[Booleanish] = js.undefined
var `aria-relevant`: js.UndefOr[
"additions" | ("additions removals") | ("additions text") | "all" | "removals" | ("removals additions") | ("removals text") | "text" | ("text additions") | ("text removals")
] = js.undefined
var `aria-required`: js.UndefOr[Booleanish] = js.undefined
var `aria-roledescription`: js.UndefOr[String] = js.undefined
var `aria-rowcount`: js.UndefOr[Double] = js.undefined
var `aria-rowindex`: js.UndefOr[Double] = js.undefined
var `aria-rowspan`: js.UndefOr[Double] = js.undefined
var `aria-selected`: js.UndefOr[Booleanish] = js.undefined
var `aria-setsize`: js.UndefOr[Double] = js.undefined
var `aria-sort`: js.UndefOr["none" | "ascending" | "descending" | "other"] = js.undefined
var `aria-valuemax`: js.UndefOr[Double] = js.undefined
var `aria-valuemin`: js.UndefOr[Double] = js.undefined
var `aria-valuenow`: js.UndefOr[Double] = js.undefined
/**
* A string value that provides a user-friendly name for the current value of the slider.
*/
var `aria-valuetext`: js.UndefOr[String] = js.undefined
var autoCapitalize: js.UndefOr[String] = js.undefined
var autoCorrect: js.UndefOr[String] = js.undefined
var autoFocus: js.UndefOr[Boolean] = js.undefined
var autoSave: js.UndefOr[String] = js.undefined
var children: js.UndefOr[ReactElement] = js.undefined
/**
* @ignore
*/
var className: js.UndefOr[String] = js.undefined
/**
* Override or extend the styles applied to the component.
*/
/**
* Override or extend the styles applied to the component.
*/
var classes: js.UndefOr[PartialSliderClasses] = js.undefined
/**
* The color of the component.
* It supports both default and custom theme colors, which can be added as shown in the
* [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
* @default 'primary'
*/
var color: js.UndefOr["primary" | "secondary"] = js.undefined
/**
* The components used for each slot inside.
*
* This prop is an alias for the `slots` prop.
* It's recommended to use the `slots` prop instead.
*
* @default {}
*/
var components: js.UndefOr[MarkLabel] = js.undefined
/**
* The extra props for the slot components.
* You can override the existing props or add new ones.
*
* This prop is an alias for the `slotProps` prop.
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
*
* @default {}
*/
var componentsProps: js.UndefOr[Mark] = js.undefined
var content: js.UndefOr[String] = js.undefined
var contentEditable: js.UndefOr[Booleanish | "inherit"] = js.undefined
var contextMenu: js.UndefOr[String] = js.undefined
var dangerouslySetInnerHTML: js.UndefOr[Html] = js.undefined
var datatype: js.UndefOr[String] = js.undefined
var defaultChecked: js.UndefOr[Boolean] = js.undefined
/**
* The default value. Use when the component is not controlled.
*/
var defaultValue: js.UndefOr[Double | js.Array[Double]] = js.undefined
var dir: js.UndefOr[String] = js.undefined
/**
* If `true`, the active thumb doesn't swap when moving pointer over a thumb while dragging another thumb.
* @default false
*/
var disableSwap: js.UndefOr[Boolean] = js.undefined
/**
* If `true`, the component is disabled.
* @default false
*/
var disabled: js.UndefOr[Boolean] = js.undefined
var draggable: js.UndefOr[Booleanish] = js.undefined
var dragging: Boolean
var focusedThumbIndex: Double
/**
* Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.
* This is important for screen reader users.
* @param {number} index The thumb label's index to format.
* @returns {string}
*/
var getAriaLabel: js.UndefOr[js.Function1[/* index */ Double, String]] = js.undefined
/**
* Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.
* This is important for screen reader users.
* @param {number} value The thumb label's value to format.
* @param {number} index The thumb label's index to format.
* @returns {string}
*/
var getAriaValueText: js.UndefOr[js.Function2[/* value */ Double, /* index */ Double, String]] = js.undefined
var hidden: js.UndefOr[Boolean] = js.undefined
var id: js.UndefOr[String] = js.undefined
var inlist: js.UndefOr[Any] = js.undefined
var inputMode: js.UndefOr["none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search"] = js.undefined
var is: js.UndefOr[String] = js.undefined
var itemID: js.UndefOr[String] = js.undefined
var itemProp: js.UndefOr[String] = js.undefined
var itemRef: js.UndefOr[String] = js.undefined
var itemScope: js.UndefOr[Boolean] = js.undefined
var itemType: js.UndefOr[String] = js.undefined
var key: js.UndefOr[Key | Null] = js.undefined
var lang: js.UndefOr[String] = js.undefined
var marked: Boolean
/**
* Marks indicate predetermined values to which the user can move the slider.
* If `true` the marks are spaced according the value of the `step` prop.
* If an array, it should contain objects with `value` and an optional `label` keys.
* @default false
*/
var marks: js.UndefOr[Boolean | js.Array[com.olvind.mui.muiBase.useSliderUseSliderDottypesMod.Mark]] = js.undefined
/**
* The maximum allowed value of the slider.
* Should not be equal to min.
* @default 100
*/
var max: js.UndefOr[Double] = js.undefined
/**
* The minimum allowed value of the slider.
* Should not be equal to max.
* @default 0
*/
var min: js.UndefOr[Double] = js.undefined
/**
* Name attribute of the hidden `input` element.
*/
var name: js.UndefOr[String] = js.undefined
var nonce: js.UndefOr[String] = js.undefined
var onAbort: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onAnimationEnd: js.UndefOr[AnimationEventHandler[HTMLSpanElement]] = js.undefined
var onAnimationIteration: js.UndefOr[AnimationEventHandler[HTMLSpanElement]] = js.undefined
var onAnimationStart: js.UndefOr[AnimationEventHandler[HTMLSpanElement]] = js.undefined
var onAuxClick: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onBeforeInput: js.UndefOr[FormEventHandler[HTMLSpanElement]] = js.undefined
var onBlur: js.UndefOr[FocusEventHandler[HTMLSpanElement]] = js.undefined
var onCanPlay: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onCanPlayThrough: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
/**
* Callback function that is fired when the slider's value changed.
*
* @param {Event} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (any).
* **Warning**: This is a generic event not a change event.
* @param {number | number[]} value The new value.
* @param {number} activeThumb Index of the currently moved thumb.
*/
var onChange: js.UndefOr[
js.Function3[
/* event */ Event,
/* value */ Double | js.Array[Double],
/* activeThumb */ Double,
Unit
]
] = js.undefined
/**
* Callback function that is fired when the `mouseup` is triggered.
*
* @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {number | number[]} value The new value.
*/
var onChangeCommitted: js.UndefOr[
js.Function2[
/* event */ (SyntheticEvent[Event, org.scalajs.dom.Element]) | Event,
/* value */ Double | js.Array[Double],
Unit
]
] = js.undefined
var onClick: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onCompositionEnd: js.UndefOr[CompositionEventHandler[HTMLSpanElement]] = js.undefined
var onCompositionStart: js.UndefOr[CompositionEventHandler[HTMLSpanElement]] = js.undefined
var onCompositionUpdate: js.UndefOr[CompositionEventHandler[HTMLSpanElement]] = js.undefined
var onContextMenu: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onCopy: js.UndefOr[ClipboardEventHandler[HTMLSpanElement]] = js.undefined
var onCut: js.UndefOr[ClipboardEventHandler[HTMLSpanElement]] = js.undefined
var onDoubleClick: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onDrag: js.UndefOr[DragEventHandler[HTMLSpanElement]] = js.undefined
var onDragEnd: js.UndefOr[DragEventHandler[HTMLSpanElement]] = js.undefined
var onDragEnter: js.UndefOr[DragEventHandler[HTMLSpanElement]] = js.undefined
var onDragExit: js.UndefOr[DragEventHandler[HTMLSpanElement]] = js.undefined
var onDragLeave: js.UndefOr[DragEventHandler[HTMLSpanElement]] = js.undefined
var onDragOver: js.UndefOr[DragEventHandler[HTMLSpanElement]] = js.undefined
var onDragStart: js.UndefOr[DragEventHandler[HTMLSpanElement]] = js.undefined
var onDrop: js.UndefOr[DragEventHandler[HTMLSpanElement]] = js.undefined
var onDurationChange: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onEmptied: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onEncrypted: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onEnded: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onError: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onFocus: js.UndefOr[FocusEventHandler[HTMLSpanElement]] = js.undefined
var onInput: js.UndefOr[FormEventHandler[HTMLSpanElement]] = js.undefined
var onInvalid: js.UndefOr[FormEventHandler[HTMLSpanElement]] = js.undefined
var onKeyDown: js.UndefOr[KeyboardEventHandler[HTMLSpanElement]] = js.undefined
var onKeyPress: js.UndefOr[KeyboardEventHandler[HTMLSpanElement]] = js.undefined
var onKeyUp: js.UndefOr[KeyboardEventHandler[HTMLSpanElement]] = js.undefined
var onLoad: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onLoadStart: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onLoadedData: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onLoadedMetadata: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onMouseDown: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onMouseEnter: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onMouseLeave: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onMouseMove: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onMouseOut: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onMouseOver: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onMouseUp: js.UndefOr[MouseEventHandler[HTMLSpanElement]] = js.undefined
var onPaste: js.UndefOr[ClipboardEventHandler[HTMLSpanElement]] = js.undefined
var onPause: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onPlay: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onPlaying: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onPointerCancel: js.UndefOr[PointerEventHandler[HTMLSpanElement]] = js.undefined
var onPointerDown: js.UndefOr[PointerEventHandler[HTMLSpanElement]] = js.undefined
var onPointerEnter: js.UndefOr[PointerEventHandler[HTMLSpanElement]] = js.undefined
var onPointerLeave: js.UndefOr[PointerEventHandler[HTMLSpanElement]] = js.undefined
var onPointerMove: js.UndefOr[PointerEventHandler[HTMLSpanElement]] = js.undefined
var onPointerOut: js.UndefOr[PointerEventHandler[HTMLSpanElement]] = js.undefined
var onPointerOver: js.UndefOr[PointerEventHandler[HTMLSpanElement]] = js.undefined
var onPointerUp: js.UndefOr[PointerEventHandler[HTMLSpanElement]] = js.undefined
var onProgress: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onRateChange: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onReset: js.UndefOr[FormEventHandler[HTMLSpanElement]] = js.undefined
var onResize: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onScroll: js.UndefOr[UIEventHandler[HTMLSpanElement]] = js.undefined
var onSeeked: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onSeeking: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onSelect: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onStalled: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onSubmit: js.UndefOr[FormEventHandler[HTMLSpanElement]] = js.undefined
var onSuspend: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onTimeUpdate: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onTouchCancel: js.UndefOr[TouchEventHandler[HTMLSpanElement]] = js.undefined
var onTouchEnd: js.UndefOr[TouchEventHandler[HTMLSpanElement]] = js.undefined
var onTouchMove: js.UndefOr[TouchEventHandler[HTMLSpanElement]] = js.undefined
var onTouchStart: js.UndefOr[TouchEventHandler[HTMLSpanElement]] = js.undefined
var onTransitionEnd: js.UndefOr[TransitionEventHandler[HTMLSpanElement]] = js.undefined
var onVolumeChange: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onWaiting: js.UndefOr[ReactEventHandler[HTMLSpanElement]] = js.undefined
var onWheel: js.UndefOr[WheelEventHandler[HTMLSpanElement]] = js.undefined
/**
* The component orientation.
* @default 'horizontal'
*/
var orientation: js.UndefOr["horizontal" | "vertical"] = js.undefined
var placeholder: js.UndefOr[String] = js.undefined
var prefix: js.UndefOr[String] = js.undefined
var property: js.UndefOr[String] = js.undefined
var radioGroup: js.UndefOr[String] = js.undefined
var ref: js.UndefOr[LegacyRef[HTMLSpanElement]] = js.undefined
var rel: js.UndefOr[String] = js.undefined
var resource: js.UndefOr[String] = js.undefined
var results: js.UndefOr[Double] = js.undefined
var rev: js.UndefOr[String] = js.undefined
var role: js.UndefOr[AriaRole] = js.undefined
/**
* A transformation function, to change the scale of the slider.
* @param {any} x
* @returns {any}
* @default function Identity(x) {
* return x;
* }
*/
var scale: js.UndefOr[js.Function1[/* value */ Double, Double]] = js.undefined
var security: js.UndefOr[String] = js.undefined
/**
* The size of the slider.
* @default 'medium'
*/
var size: js.UndefOr["small" | "medium"] = js.undefined
var slot: js.UndefOr[String] = js.undefined
/**
* The props used for each slot inside the Slider.
* @default {}
*/
var slotProps: js.UndefOr[Mark] = js.undefined
/**
* The components used for each slot inside the Slider.
* Either a string to use a HTML element or a component.
* @default {}
*/
var slots: js.UndefOr[Rail] = js.undefined
var spellCheck: js.UndefOr[Booleanish] = js.undefined
/**
* The granularity with which the slider can step through values. (A "discrete" slider.)
* The `min` prop serves as the origin for the valid values.
* We recommend (max - min) to be evenly divisible by the step.
*
* When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.
* @default 1
*/
var step: js.UndefOr[Double | Null] = js.undefined
var style: js.UndefOr[CSSProperties] = js.undefined
var suppressContentEditableWarning: js.UndefOr[Boolean] = js.undefined
var suppressHydrationWarning: js.UndefOr[Boolean] = js.undefined
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
var sx: js.UndefOr[SxProps[Theme]] = js.undefined
/**
* Tab index attribute of the hidden `input` element.
*/
var tabIndex: js.UndefOr[Double] = js.undefined
var title: js.UndefOr[String] = js.undefined
/**
* The track presentation:
*
* - `normal` the track will render a bar representing the slider value.
* - `inverted` the track will render a bar representing the remaining slider value.
* - `false` the track will render without a bar.
* @default 'normal'
*/
var track: js.UndefOr["normal" | false | "inverted"] = js.undefined
var translate: js.UndefOr["yes" | "no"] = js.undefined
var typeof: js.UndefOr[String] = js.undefined
var unselectable: js.UndefOr["on" | "off"] = js.undefined
/**
* The value of the slider.
* For ranged sliders, provide an array with two values.
*/
var value: js.UndefOr[Double | js.Array[Double]] = js.undefined
/**
* Controls when the value label is displayed:
*
* - `auto` the value label will display when the thumb is hovered or focused.
* - `on` will display persistently.
* - `off` will never display.
* @default 'off'
*/
var valueLabelDisplay: js.UndefOr["on" | "auto" | "off"] = js.undefined
/**
* The format function the value label's value.
*
* When a function is provided, it should have the following signature:
*
* - {number} value The value label's value to format
* - {number} index The value label's index to format
* @param {any} x
* @returns {any}
* @default function Identity(x) {
* return x;
* }
*/
var valueLabelFormat: js.UndefOr[String | (js.Function2[/* value */ Double, /* index */ Double, ReactElement])] = js.undefined
var vocab: js.UndefOr[String] = js.undefined
}
object SliderOwnerState {
inline def apply(dragging: Boolean, focusedThumbIndex: Double, marked: Boolean): SliderOwnerState = {
val __obj = js.Dynamic.literal(dragging = dragging.asInstanceOf[js.Any], focusedThumbIndex = focusedThumbIndex.asInstanceOf[js.Any], marked = marked.asInstanceOf[js.Any])
__obj.asInstanceOf[SliderOwnerState]
}
@scala.inline
implicit open class MutableBuilder[Self <: SliderOwnerState] (val x: Self) extends AnyVal {
inline def setAbout(value: String): Self = StObject.set(x, "about", value.asInstanceOf[js.Any])
inline def setAboutUndefined: Self = StObject.set(x, "about", js.undefined)
inline def setAccessKey(value: String): Self = StObject.set(x, "accessKey", value.asInstanceOf[js.Any])
inline def setAccessKeyUndefined: Self = StObject.set(x, "accessKey", js.undefined)
inline def `setAria-activedescendant`(value: String): Self = StObject.set(x, "aria-activedescendant", value.asInstanceOf[js.Any])
inline def `setAria-activedescendantUndefined`: Self = StObject.set(x, "aria-activedescendant", js.undefined)
inline def `setAria-atomic`(value: Booleanish): Self = StObject.set(x, "aria-atomic", value.asInstanceOf[js.Any])
inline def `setAria-atomicUndefined`: Self = StObject.set(x, "aria-atomic", js.undefined)
inline def `setAria-autocomplete`(value: "none" | "inline" | "list" | "both"): Self = StObject.set(x, "aria-autocomplete", value.asInstanceOf[js.Any])
inline def `setAria-autocompleteUndefined`: Self = StObject.set(x, "aria-autocomplete", js.undefined)
inline def `setAria-busy`(value: Booleanish): Self = StObject.set(x, "aria-busy", value.asInstanceOf[js.Any])
inline def `setAria-busyUndefined`: Self = StObject.set(x, "aria-busy", js.undefined)
inline def `setAria-checked`(value: Boolean | "mixed"): Self = StObject.set(x, "aria-checked", value.asInstanceOf[js.Any])
inline def `setAria-checkedUndefined`: Self = StObject.set(x, "aria-checked", js.undefined)
inline def `setAria-colcount`(value: Double): Self = StObject.set(x, "aria-colcount", value.asInstanceOf[js.Any])
inline def `setAria-colcountUndefined`: Self = StObject.set(x, "aria-colcount", js.undefined)
inline def `setAria-colindex`(value: Double): Self = StObject.set(x, "aria-colindex", value.asInstanceOf[js.Any])
inline def `setAria-colindexUndefined`: Self = StObject.set(x, "aria-colindex", js.undefined)
inline def `setAria-colspan`(value: Double): Self = StObject.set(x, "aria-colspan", value.asInstanceOf[js.Any])
inline def `setAria-colspanUndefined`: Self = StObject.set(x, "aria-colspan", js.undefined)
inline def `setAria-controls`(value: String): Self = StObject.set(x, "aria-controls", value.asInstanceOf[js.Any])
inline def `setAria-controlsUndefined`: Self = StObject.set(x, "aria-controls", js.undefined)
inline def `setAria-current`(value: Boolean | "page" | "step" | "location" | "date" | "time"): Self = StObject.set(x, "aria-current", value.asInstanceOf[js.Any])
inline def `setAria-currentUndefined`: Self = StObject.set(x, "aria-current", js.undefined)
inline def `setAria-describedby`(value: String): Self = StObject.set(x, "aria-describedby", value.asInstanceOf[js.Any])
inline def `setAria-describedbyUndefined`: Self = StObject.set(x, "aria-describedby", js.undefined)
inline def `setAria-details`(value: String): Self = StObject.set(x, "aria-details", value.asInstanceOf[js.Any])
inline def `setAria-detailsUndefined`: Self = StObject.set(x, "aria-details", js.undefined)
inline def `setAria-disabled`(value: Booleanish): Self = StObject.set(x, "aria-disabled", value.asInstanceOf[js.Any])
inline def `setAria-disabledUndefined`: Self = StObject.set(x, "aria-disabled", js.undefined)
inline def `setAria-dropeffect`(value: "none" | "copy" | "execute" | "link" | "move" | "popup"): Self = StObject.set(x, "aria-dropeffect", value.asInstanceOf[js.Any])
inline def `setAria-dropeffectUndefined`: Self = StObject.set(x, "aria-dropeffect", js.undefined)
inline def `setAria-errormessage`(value: String): Self = StObject.set(x, "aria-errormessage", value.asInstanceOf[js.Any])
inline def `setAria-errormessageUndefined`: Self = StObject.set(x, "aria-errormessage", js.undefined)
inline def `setAria-expanded`(value: Booleanish): Self = StObject.set(x, "aria-expanded", value.asInstanceOf[js.Any])
inline def `setAria-expandedUndefined`: Self = StObject.set(x, "aria-expanded", js.undefined)
inline def `setAria-flowto`(value: String): Self = StObject.set(x, "aria-flowto", value.asInstanceOf[js.Any])
inline def `setAria-flowtoUndefined`: Self = StObject.set(x, "aria-flowto", js.undefined)
inline def `setAria-grabbed`(value: Booleanish): Self = StObject.set(x, "aria-grabbed", value.asInstanceOf[js.Any])
inline def `setAria-grabbedUndefined`: Self = StObject.set(x, "aria-grabbed", js.undefined)
inline def `setAria-haspopup`(value: Boolean | "menu" | "listbox" | "tree" | "grid" | "dialog"): Self = StObject.set(x, "aria-haspopup", value.asInstanceOf[js.Any])
inline def `setAria-haspopupUndefined`: Self = StObject.set(x, "aria-haspopup", js.undefined)
inline def `setAria-hidden`(value: Booleanish): Self = StObject.set(x, "aria-hidden", value.asInstanceOf[js.Any])
inline def `setAria-hiddenUndefined`: Self = StObject.set(x, "aria-hidden", js.undefined)
inline def `setAria-invalid`(value: Boolean | "grammar" | "spelling"): Self = StObject.set(x, "aria-invalid", value.asInstanceOf[js.Any])
inline def `setAria-invalidUndefined`: Self = StObject.set(x, "aria-invalid", js.undefined)
inline def `setAria-keyshortcuts`(value: String): Self = StObject.set(x, "aria-keyshortcuts", value.asInstanceOf[js.Any])
inline def `setAria-keyshortcutsUndefined`: Self = StObject.set(x, "aria-keyshortcuts", js.undefined)
inline def `setAria-label`(value: String): Self = StObject.set(x, "aria-label", value.asInstanceOf[js.Any])
inline def `setAria-labelUndefined`: Self = StObject.set(x, "aria-label", js.undefined)
inline def `setAria-labelledby`(value: String): Self = StObject.set(x, "aria-labelledby", value.asInstanceOf[js.Any])
inline def `setAria-labelledbyUndefined`: Self = StObject.set(x, "aria-labelledby", js.undefined)
inline def `setAria-level`(value: Double): Self = StObject.set(x, "aria-level", value.asInstanceOf[js.Any])
inline def `setAria-levelUndefined`: Self = StObject.set(x, "aria-level", js.undefined)
inline def `setAria-live`(value: "off" | "assertive" | "polite"): Self = StObject.set(x, "aria-live", value.asInstanceOf[js.Any])
inline def `setAria-liveUndefined`: Self = StObject.set(x, "aria-live", js.undefined)
inline def `setAria-modal`(value: Booleanish): Self = StObject.set(x, "aria-modal", value.asInstanceOf[js.Any])
inline def `setAria-modalUndefined`: Self = StObject.set(x, "aria-modal", js.undefined)
inline def `setAria-multiline`(value: Booleanish): Self = StObject.set(x, "aria-multiline", value.asInstanceOf[js.Any])
inline def `setAria-multilineUndefined`: Self = StObject.set(x, "aria-multiline", js.undefined)
inline def `setAria-multiselectable`(value: Booleanish): Self = StObject.set(x, "aria-multiselectable", value.asInstanceOf[js.Any])
inline def `setAria-multiselectableUndefined`: Self = StObject.set(x, "aria-multiselectable", js.undefined)
inline def `setAria-orientation`(value: "horizontal" | "vertical"): Self = StObject.set(x, "aria-orientation", value.asInstanceOf[js.Any])
inline def `setAria-orientationUndefined`: Self = StObject.set(x, "aria-orientation", js.undefined)
inline def `setAria-owns`(value: String): Self = StObject.set(x, "aria-owns", value.asInstanceOf[js.Any])
inline def `setAria-ownsUndefined`: Self = StObject.set(x, "aria-owns", js.undefined)
inline def `setAria-placeholder`(value: String): Self = StObject.set(x, "aria-placeholder", value.asInstanceOf[js.Any])
inline def `setAria-placeholderUndefined`: Self = StObject.set(x, "aria-placeholder", js.undefined)
inline def `setAria-posinset`(value: Double): Self = StObject.set(x, "aria-posinset", value.asInstanceOf[js.Any])
inline def `setAria-posinsetUndefined`: Self = StObject.set(x, "aria-posinset", js.undefined)
inline def `setAria-pressed`(value: Boolean | "mixed"): Self = StObject.set(x, "aria-pressed", value.asInstanceOf[js.Any])
inline def `setAria-pressedUndefined`: Self = StObject.set(x, "aria-pressed", js.undefined)
inline def `setAria-readonly`(value: Booleanish): Self = StObject.set(x, "aria-readonly", value.asInstanceOf[js.Any])
inline def `setAria-readonlyUndefined`: Self = StObject.set(x, "aria-readonly", js.undefined)
inline def `setAria-relevant`(
value: "additions" | ("additions removals") | ("additions text") | "all" | "removals" | ("removals additions") | ("removals text") | "text" | ("text additions") | ("text removals")
): Self = StObject.set(x, "aria-relevant", value.asInstanceOf[js.Any])
inline def `setAria-relevantUndefined`: Self = StObject.set(x, "aria-relevant", js.undefined)
inline def `setAria-required`(value: Booleanish): Self = StObject.set(x, "aria-required", value.asInstanceOf[js.Any])
inline def `setAria-requiredUndefined`: Self = StObject.set(x, "aria-required", js.undefined)
inline def `setAria-roledescription`(value: String): Self = StObject.set(x, "aria-roledescription", value.asInstanceOf[js.Any])
inline def `setAria-roledescriptionUndefined`: Self = StObject.set(x, "aria-roledescription", js.undefined)
inline def `setAria-rowcount`(value: Double): Self = StObject.set(x, "aria-rowcount", value.asInstanceOf[js.Any])
inline def `setAria-rowcountUndefined`: Self = StObject.set(x, "aria-rowcount", js.undefined)
inline def `setAria-rowindex`(value: Double): Self = StObject.set(x, "aria-rowindex", value.asInstanceOf[js.Any])
inline def `setAria-rowindexUndefined`: Self = StObject.set(x, "aria-rowindex", js.undefined)
inline def `setAria-rowspan`(value: Double): Self = StObject.set(x, "aria-rowspan", value.asInstanceOf[js.Any])
inline def `setAria-rowspanUndefined`: Self = StObject.set(x, "aria-rowspan", js.undefined)
inline def `setAria-selected`(value: Booleanish): Self = StObject.set(x, "aria-selected", value.asInstanceOf[js.Any])
inline def `setAria-selectedUndefined`: Self = StObject.set(x, "aria-selected", js.undefined)
inline def `setAria-setsize`(value: Double): Self = StObject.set(x, "aria-setsize", value.asInstanceOf[js.Any])
inline def `setAria-setsizeUndefined`: Self = StObject.set(x, "aria-setsize", js.undefined)
inline def `setAria-sort`(value: "none" | "ascending" | "descending" | "other"): Self = StObject.set(x, "aria-sort", value.asInstanceOf[js.Any])
inline def `setAria-sortUndefined`: Self = StObject.set(x, "aria-sort", js.undefined)
inline def `setAria-valuemax`(value: Double): Self = StObject.set(x, "aria-valuemax", value.asInstanceOf[js.Any])
inline def `setAria-valuemaxUndefined`: Self = StObject.set(x, "aria-valuemax", js.undefined)
inline def `setAria-valuemin`(value: Double): Self = StObject.set(x, "aria-valuemin", value.asInstanceOf[js.Any])
inline def `setAria-valueminUndefined`: Self = StObject.set(x, "aria-valuemin", js.undefined)
inline def `setAria-valuenow`(value: Double): Self = StObject.set(x, "aria-valuenow", value.asInstanceOf[js.Any])
inline def `setAria-valuenowUndefined`: Self = StObject.set(x, "aria-valuenow", js.undefined)
inline def `setAria-valuetext`(value: String): Self = StObject.set(x, "aria-valuetext", value.asInstanceOf[js.Any])
inline def `setAria-valuetextUndefined`: Self = StObject.set(x, "aria-valuetext", js.undefined)
inline def setAutoCapitalize(value: String): Self = StObject.set(x, "autoCapitalize", value.asInstanceOf[js.Any])
inline def setAutoCapitalizeUndefined: Self = StObject.set(x, "autoCapitalize", js.undefined)
inline def setAutoCorrect(value: String): Self = StObject.set(x, "autoCorrect", value.asInstanceOf[js.Any])
inline def setAutoCorrectUndefined: Self = StObject.set(x, "autoCorrect", js.undefined)
inline def setAutoFocus(value: Boolean): Self = StObject.set(x, "autoFocus", value.asInstanceOf[js.Any])
inline def setAutoFocusUndefined: Self = StObject.set(x, "autoFocus", js.undefined)
inline def setAutoSave(value: String): Self = StObject.set(x, "autoSave", value.asInstanceOf[js.Any])
inline def setAutoSaveUndefined: Self = StObject.set(x, "autoSave", js.undefined)
inline def setChildren(value: ReactElement): Self = StObject.set(x, "children", value.asInstanceOf[js.Any])
inline def setChildrenUndefined: Self = StObject.set(x, "children", js.undefined)
inline def setClassName(value: String): Self = StObject.set(x, "className", value.asInstanceOf[js.Any])
inline def setClassNameUndefined: Self = StObject.set(x, "className", js.undefined)
inline def setClasses(value: PartialSliderClasses): Self = StObject.set(x, "classes", value.asInstanceOf[js.Any])
inline def setClassesUndefined: Self = StObject.set(x, "classes", js.undefined)
inline def setColor(value: "primary" | "secondary"): Self = StObject.set(x, "color", value.asInstanceOf[js.Any])
inline def setColorUndefined: Self = StObject.set(x, "color", js.undefined)
inline def setComponents(value: MarkLabel): Self = StObject.set(x, "components", value.asInstanceOf[js.Any])
inline def setComponentsProps(value: Mark): Self = StObject.set(x, "componentsProps", value.asInstanceOf[js.Any])
inline def setComponentsPropsUndefined: Self = StObject.set(x, "componentsProps", js.undefined)
inline def setComponentsUndefined: Self = StObject.set(x, "components", js.undefined)
inline def setContent(value: String): Self = StObject.set(x, "content", value.asInstanceOf[js.Any])
inline def setContentEditable(value: Booleanish | "inherit"): Self = StObject.set(x, "contentEditable", value.asInstanceOf[js.Any])
inline def setContentEditableUndefined: Self = StObject.set(x, "contentEditable", js.undefined)
inline def setContentUndefined: Self = StObject.set(x, "content", js.undefined)
inline def setContextMenu(value: String): Self = StObject.set(x, "contextMenu", value.asInstanceOf[js.Any])
inline def setContextMenuUndefined: Self = StObject.set(x, "contextMenu", js.undefined)
inline def setDangerouslySetInnerHTML(value: Html): Self = StObject.set(x, "dangerouslySetInnerHTML", value.asInstanceOf[js.Any])
inline def setDangerouslySetInnerHTMLUndefined: Self = StObject.set(x, "dangerouslySetInnerHTML", js.undefined)
inline def setDatatype(value: String): Self = StObject.set(x, "datatype", value.asInstanceOf[js.Any])
inline def setDatatypeUndefined: Self = StObject.set(x, "datatype", js.undefined)
inline def setDefaultChecked(value: Boolean): Self = StObject.set(x, "defaultChecked", value.asInstanceOf[js.Any])
inline def setDefaultCheckedUndefined: Self = StObject.set(x, "defaultChecked", js.undefined)
inline def setDefaultValue(value: Double | js.Array[Double]): Self = StObject.set(x, "defaultValue", value.asInstanceOf[js.Any])
inline def setDefaultValueUndefined: Self = StObject.set(x, "defaultValue", js.undefined)
inline def setDefaultValueVarargs(value: Double*): Self = StObject.set(x, "defaultValue", js.Array(value*))
inline def setDir(value: String): Self = StObject.set(x, "dir", value.asInstanceOf[js.Any])
inline def setDirUndefined: Self = StObject.set(x, "dir", js.undefined)
inline def setDisableSwap(value: Boolean): Self = StObject.set(x, "disableSwap", value.asInstanceOf[js.Any])
inline def setDisableSwapUndefined: Self = StObject.set(x, "disableSwap", js.undefined)
inline def setDisabled(value: Boolean): Self = StObject.set(x, "disabled", value.asInstanceOf[js.Any])
inline def setDisabledUndefined: Self = StObject.set(x, "disabled", js.undefined)
inline def setDraggable(value: Booleanish): Self = StObject.set(x, "draggable", value.asInstanceOf[js.Any])
inline def setDraggableUndefined: Self = StObject.set(x, "draggable", js.undefined)
inline def setDragging(value: Boolean): Self = StObject.set(x, "dragging", value.asInstanceOf[js.Any])
inline def setFocusedThumbIndex(value: Double): Self = StObject.set(x, "focusedThumbIndex", value.asInstanceOf[js.Any])
inline def setGetAriaLabel(value: /* index */ Double => String): Self = StObject.set(x, "getAriaLabel", js.Any.fromFunction1(value))
inline def setGetAriaLabelUndefined: Self = StObject.set(x, "getAriaLabel", js.undefined)
inline def setGetAriaValueText(value: (/* value */ Double, /* index */ Double) => String): Self = StObject.set(x, "getAriaValueText", js.Any.fromFunction2(value))
inline def setGetAriaValueTextUndefined: Self = StObject.set(x, "getAriaValueText", js.undefined)
inline def setHidden(value: Boolean): Self = StObject.set(x, "hidden", value.asInstanceOf[js.Any])
inline def setHiddenUndefined: Self = StObject.set(x, "hidden", js.undefined)
inline def setId(value: String): Self = StObject.set(x, "id", value.asInstanceOf[js.Any])
inline def setIdUndefined: Self = StObject.set(x, "id", js.undefined)
inline def setInlist(value: Any): Self = StObject.set(x, "inlist", value.asInstanceOf[js.Any])
inline def setInlistUndefined: Self = StObject.set(x, "inlist", js.undefined)
inline def setInputMode(value: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search"): Self = StObject.set(x, "inputMode", value.asInstanceOf[js.Any])
inline def setInputModeUndefined: Self = StObject.set(x, "inputMode", js.undefined)
inline def setIs(value: String): Self = StObject.set(x, "is", value.asInstanceOf[js.Any])
inline def setIsUndefined: Self = StObject.set(x, "is", js.undefined)
inline def setItemID(value: String): Self = StObject.set(x, "itemID", value.asInstanceOf[js.Any])
inline def setItemIDUndefined: Self = StObject.set(x, "itemID", js.undefined)
inline def setItemProp(value: String): Self = StObject.set(x, "itemProp", value.asInstanceOf[js.Any])
inline def setItemPropUndefined: Self = StObject.set(x, "itemProp", js.undefined)
inline def setItemRef(value: String): Self = StObject.set(x, "itemRef", value.asInstanceOf[js.Any])
inline def setItemRefUndefined: Self = StObject.set(x, "itemRef", js.undefined)
inline def setItemScope(value: Boolean): Self = StObject.set(x, "itemScope", value.asInstanceOf[js.Any])
inline def setItemScopeUndefined: Self = StObject.set(x, "itemScope", js.undefined)
inline def setItemType(value: String): Self = StObject.set(x, "itemType", value.asInstanceOf[js.Any])
inline def setItemTypeUndefined: Self = StObject.set(x, "itemType", js.undefined)
inline def setKey(value: Key): Self = StObject.set(x, "key", value.asInstanceOf[js.Any])
inline def setKeyNull: Self = StObject.set(x, "key", null)
inline def setKeyUndefined: Self = StObject.set(x, "key", js.undefined)
inline def setLang(value: String): Self = StObject.set(x, "lang", value.asInstanceOf[js.Any])
inline def setLangUndefined: Self = StObject.set(x, "lang", js.undefined)
inline def setMarked(value: Boolean): Self = StObject.set(x, "marked", value.asInstanceOf[js.Any])
inline def setMarks(value: Boolean | js.Array[com.olvind.mui.muiBase.useSliderUseSliderDottypesMod.Mark]): Self = StObject.set(x, "marks", value.asInstanceOf[js.Any])
inline def setMarksUndefined: Self = StObject.set(x, "marks", js.undefined)
inline def setMarksVarargs(value: com.olvind.mui.muiBase.useSliderUseSliderDottypesMod.Mark*): Self = StObject.set(x, "marks", js.Array(value*))
inline def setMax(value: Double): Self = StObject.set(x, "max", value.asInstanceOf[js.Any])
inline def setMaxUndefined: Self = StObject.set(x, "max", js.undefined)
inline def setMin(value: Double): Self = StObject.set(x, "min", value.asInstanceOf[js.Any])
inline def setMinUndefined: Self = StObject.set(x, "min", js.undefined)
inline def setName(value: String): Self = StObject.set(x, "name", value.asInstanceOf[js.Any])
inline def setNameUndefined: Self = StObject.set(x, "name", js.undefined)
inline def setNonce(value: String): Self = StObject.set(x, "nonce", value.asInstanceOf[js.Any])
inline def setNonceUndefined: Self = StObject.set(x, "nonce", js.undefined)
inline def setOnAbort(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onAbort", js.Any.fromFunction1(value))
inline def setOnAbortUndefined: Self = StObject.set(x, "onAbort", js.undefined)
inline def setOnAnimationEnd(value: SyntheticAnimationEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onAnimationEnd", js.Any.fromFunction1(value))
inline def setOnAnimationEndUndefined: Self = StObject.set(x, "onAnimationEnd", js.undefined)
inline def setOnAnimationIteration(value: SyntheticAnimationEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onAnimationIteration", js.Any.fromFunction1(value))
inline def setOnAnimationIterationUndefined: Self = StObject.set(x, "onAnimationIteration", js.undefined)
inline def setOnAnimationStart(value: SyntheticAnimationEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onAnimationStart", js.Any.fromFunction1(value))
inline def setOnAnimationStartUndefined: Self = StObject.set(x, "onAnimationStart", js.undefined)
inline def setOnAuxClick(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onAuxClick", js.Any.fromFunction1(value))
inline def setOnAuxClickUndefined: Self = StObject.set(x, "onAuxClick", js.undefined)
inline def setOnBeforeInput(value: SyntheticEvent[EventTarget & HTMLSpanElement, Event] => Unit): Self = StObject.set(x, "onBeforeInput", js.Any.fromFunction1(value))
inline def setOnBeforeInputUndefined: Self = StObject.set(x, "onBeforeInput", js.undefined)
inline def setOnBlur(value: SyntheticFocusEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onBlur", js.Any.fromFunction1(value))
inline def setOnBlurUndefined: Self = StObject.set(x, "onBlur", js.undefined)
inline def setOnCanPlay(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onCanPlay", js.Any.fromFunction1(value))
inline def setOnCanPlayThrough(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onCanPlayThrough", js.Any.fromFunction1(value))
inline def setOnCanPlayThroughUndefined: Self = StObject.set(x, "onCanPlayThrough", js.undefined)
inline def setOnCanPlayUndefined: Self = StObject.set(x, "onCanPlay", js.undefined)
inline def setOnChange(
value: (/* event */ Event, /* value */ Double | js.Array[Double], /* activeThumb */ Double) => Unit
): Self = StObject.set(x, "onChange", js.Any.fromFunction3(value))
inline def setOnChangeCommitted(
value: (/* event */ (SyntheticEvent[Event, org.scalajs.dom.Element]) | Event, /* value */ Double | js.Array[Double]) => Unit
): Self = StObject.set(x, "onChangeCommitted", js.Any.fromFunction2(value))
inline def setOnChangeCommittedUndefined: Self = StObject.set(x, "onChangeCommitted", js.undefined)
inline def setOnChangeUndefined: Self = StObject.set(x, "onChange", js.undefined)
inline def setOnClick(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onClick", js.Any.fromFunction1(value))
inline def setOnClickUndefined: Self = StObject.set(x, "onClick", js.undefined)
inline def setOnCompositionEnd(value: SyntheticCompositionEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onCompositionEnd", js.Any.fromFunction1(value))
inline def setOnCompositionEndUndefined: Self = StObject.set(x, "onCompositionEnd", js.undefined)
inline def setOnCompositionStart(value: SyntheticCompositionEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onCompositionStart", js.Any.fromFunction1(value))
inline def setOnCompositionStartUndefined: Self = StObject.set(x, "onCompositionStart", js.undefined)
inline def setOnCompositionUpdate(value: SyntheticCompositionEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onCompositionUpdate", js.Any.fromFunction1(value))
inline def setOnCompositionUpdateUndefined: Self = StObject.set(x, "onCompositionUpdate", js.undefined)
inline def setOnContextMenu(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onContextMenu", js.Any.fromFunction1(value))
inline def setOnContextMenuUndefined: Self = StObject.set(x, "onContextMenu", js.undefined)
inline def setOnCopy(value: SyntheticClipboardEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onCopy", js.Any.fromFunction1(value))
inline def setOnCopyUndefined: Self = StObject.set(x, "onCopy", js.undefined)
inline def setOnCut(value: SyntheticClipboardEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onCut", js.Any.fromFunction1(value))
inline def setOnCutUndefined: Self = StObject.set(x, "onCut", js.undefined)
inline def setOnDoubleClick(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onDoubleClick", js.Any.fromFunction1(value))
inline def setOnDoubleClickUndefined: Self = StObject.set(x, "onDoubleClick", js.undefined)
inline def setOnDrag(value: DragEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onDrag", js.Any.fromFunction1(value))
inline def setOnDragEnd(value: DragEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onDragEnd", js.Any.fromFunction1(value))
inline def setOnDragEndUndefined: Self = StObject.set(x, "onDragEnd", js.undefined)
inline def setOnDragEnter(value: DragEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onDragEnter", js.Any.fromFunction1(value))
inline def setOnDragEnterUndefined: Self = StObject.set(x, "onDragEnter", js.undefined)
inline def setOnDragExit(value: DragEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onDragExit", js.Any.fromFunction1(value))
inline def setOnDragExitUndefined: Self = StObject.set(x, "onDragExit", js.undefined)
inline def setOnDragLeave(value: DragEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onDragLeave", js.Any.fromFunction1(value))
inline def setOnDragLeaveUndefined: Self = StObject.set(x, "onDragLeave", js.undefined)
inline def setOnDragOver(value: DragEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onDragOver", js.Any.fromFunction1(value))
inline def setOnDragOverUndefined: Self = StObject.set(x, "onDragOver", js.undefined)
inline def setOnDragStart(value: DragEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onDragStart", js.Any.fromFunction1(value))
inline def setOnDragStartUndefined: Self = StObject.set(x, "onDragStart", js.undefined)
inline def setOnDragUndefined: Self = StObject.set(x, "onDrag", js.undefined)
inline def setOnDrop(value: DragEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onDrop", js.Any.fromFunction1(value))
inline def setOnDropUndefined: Self = StObject.set(x, "onDrop", js.undefined)
inline def setOnDurationChange(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onDurationChange", js.Any.fromFunction1(value))
inline def setOnDurationChangeUndefined: Self = StObject.set(x, "onDurationChange", js.undefined)
inline def setOnEmptied(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onEmptied", js.Any.fromFunction1(value))
inline def setOnEmptiedUndefined: Self = StObject.set(x, "onEmptied", js.undefined)
inline def setOnEncrypted(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onEncrypted", js.Any.fromFunction1(value))
inline def setOnEncryptedUndefined: Self = StObject.set(x, "onEncrypted", js.undefined)
inline def setOnEnded(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onEnded", js.Any.fromFunction1(value))
inline def setOnEndedUndefined: Self = StObject.set(x, "onEnded", js.undefined)
inline def setOnError(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onError", js.Any.fromFunction1(value))
inline def setOnErrorUndefined: Self = StObject.set(x, "onError", js.undefined)
inline def setOnFocus(value: SyntheticFocusEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onFocus", js.Any.fromFunction1(value))
inline def setOnFocusUndefined: Self = StObject.set(x, "onFocus", js.undefined)
inline def setOnInput(value: SyntheticEvent[EventTarget & HTMLSpanElement, Event] => Unit): Self = StObject.set(x, "onInput", js.Any.fromFunction1(value))
inline def setOnInputUndefined: Self = StObject.set(x, "onInput", js.undefined)
inline def setOnInvalid(value: SyntheticEvent[EventTarget & HTMLSpanElement, Event] => Unit): Self = StObject.set(x, "onInvalid", js.Any.fromFunction1(value))
inline def setOnInvalidUndefined: Self = StObject.set(x, "onInvalid", js.undefined)
inline def setOnKeyDown(value: SyntheticKeyboardEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onKeyDown", js.Any.fromFunction1(value))
inline def setOnKeyDownUndefined: Self = StObject.set(x, "onKeyDown", js.undefined)
inline def setOnKeyPress(value: SyntheticKeyboardEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onKeyPress", js.Any.fromFunction1(value))
inline def setOnKeyPressUndefined: Self = StObject.set(x, "onKeyPress", js.undefined)
inline def setOnKeyUp(value: SyntheticKeyboardEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onKeyUp", js.Any.fromFunction1(value))
inline def setOnKeyUpUndefined: Self = StObject.set(x, "onKeyUp", js.undefined)
inline def setOnLoad(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onLoad", js.Any.fromFunction1(value))
inline def setOnLoadStart(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onLoadStart", js.Any.fromFunction1(value))
inline def setOnLoadStartUndefined: Self = StObject.set(x, "onLoadStart", js.undefined)
inline def setOnLoadUndefined: Self = StObject.set(x, "onLoad", js.undefined)
inline def setOnLoadedData(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onLoadedData", js.Any.fromFunction1(value))
inline def setOnLoadedDataUndefined: Self = StObject.set(x, "onLoadedData", js.undefined)
inline def setOnLoadedMetadata(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onLoadedMetadata", js.Any.fromFunction1(value))
inline def setOnLoadedMetadataUndefined: Self = StObject.set(x, "onLoadedMetadata", js.undefined)
inline def setOnMouseDown(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onMouseDown", js.Any.fromFunction1(value))
inline def setOnMouseDownUndefined: Self = StObject.set(x, "onMouseDown", js.undefined)
inline def setOnMouseEnter(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onMouseEnter", js.Any.fromFunction1(value))
inline def setOnMouseEnterUndefined: Self = StObject.set(x, "onMouseEnter", js.undefined)
inline def setOnMouseLeave(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onMouseLeave", js.Any.fromFunction1(value))
inline def setOnMouseLeaveUndefined: Self = StObject.set(x, "onMouseLeave", js.undefined)
inline def setOnMouseMove(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onMouseMove", js.Any.fromFunction1(value))
inline def setOnMouseMoveUndefined: Self = StObject.set(x, "onMouseMove", js.undefined)
inline def setOnMouseOut(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onMouseOut", js.Any.fromFunction1(value))
inline def setOnMouseOutUndefined: Self = StObject.set(x, "onMouseOut", js.undefined)
inline def setOnMouseOver(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onMouseOver", js.Any.fromFunction1(value))
inline def setOnMouseOverUndefined: Self = StObject.set(x, "onMouseOver", js.undefined)
inline def setOnMouseUp(value: SyntheticMouseEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onMouseUp", js.Any.fromFunction1(value))
inline def setOnMouseUpUndefined: Self = StObject.set(x, "onMouseUp", js.undefined)
inline def setOnPaste(value: SyntheticClipboardEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onPaste", js.Any.fromFunction1(value))
inline def setOnPasteUndefined: Self = StObject.set(x, "onPaste", js.undefined)
inline def setOnPause(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onPause", js.Any.fromFunction1(value))
inline def setOnPauseUndefined: Self = StObject.set(x, "onPause", js.undefined)
inline def setOnPlay(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onPlay", js.Any.fromFunction1(value))
inline def setOnPlayUndefined: Self = StObject.set(x, "onPlay", js.undefined)
inline def setOnPlaying(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onPlaying", js.Any.fromFunction1(value))
inline def setOnPlayingUndefined: Self = StObject.set(x, "onPlaying", js.undefined)
inline def setOnPointerCancel(value: SyntheticPointerEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onPointerCancel", js.Any.fromFunction1(value))
inline def setOnPointerCancelUndefined: Self = StObject.set(x, "onPointerCancel", js.undefined)
inline def setOnPointerDown(value: SyntheticPointerEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onPointerDown", js.Any.fromFunction1(value))
inline def setOnPointerDownUndefined: Self = StObject.set(x, "onPointerDown", js.undefined)
inline def setOnPointerEnter(value: SyntheticPointerEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onPointerEnter", js.Any.fromFunction1(value))
inline def setOnPointerEnterUndefined: Self = StObject.set(x, "onPointerEnter", js.undefined)
inline def setOnPointerLeave(value: SyntheticPointerEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onPointerLeave", js.Any.fromFunction1(value))
inline def setOnPointerLeaveUndefined: Self = StObject.set(x, "onPointerLeave", js.undefined)
inline def setOnPointerMove(value: SyntheticPointerEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onPointerMove", js.Any.fromFunction1(value))
inline def setOnPointerMoveUndefined: Self = StObject.set(x, "onPointerMove", js.undefined)
inline def setOnPointerOut(value: SyntheticPointerEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onPointerOut", js.Any.fromFunction1(value))
inline def setOnPointerOutUndefined: Self = StObject.set(x, "onPointerOut", js.undefined)
inline def setOnPointerOver(value: SyntheticPointerEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onPointerOver", js.Any.fromFunction1(value))
inline def setOnPointerOverUndefined: Self = StObject.set(x, "onPointerOver", js.undefined)
inline def setOnPointerUp(value: SyntheticPointerEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onPointerUp", js.Any.fromFunction1(value))
inline def setOnPointerUpUndefined: Self = StObject.set(x, "onPointerUp", js.undefined)
inline def setOnProgress(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onProgress", js.Any.fromFunction1(value))
inline def setOnProgressUndefined: Self = StObject.set(x, "onProgress", js.undefined)
inline def setOnRateChange(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onRateChange", js.Any.fromFunction1(value))
inline def setOnRateChangeUndefined: Self = StObject.set(x, "onRateChange", js.undefined)
inline def setOnReset(value: SyntheticEvent[EventTarget & HTMLSpanElement, Event] => Unit): Self = StObject.set(x, "onReset", js.Any.fromFunction1(value))
inline def setOnResetUndefined: Self = StObject.set(x, "onReset", js.undefined)
inline def setOnResize(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onResize", js.Any.fromFunction1(value))
inline def setOnResizeUndefined: Self = StObject.set(x, "onResize", js.undefined)
inline def setOnScroll(value: SyntheticUIEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onScroll", js.Any.fromFunction1(value))
inline def setOnScrollUndefined: Self = StObject.set(x, "onScroll", js.undefined)
inline def setOnSeeked(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onSeeked", js.Any.fromFunction1(value))
inline def setOnSeekedUndefined: Self = StObject.set(x, "onSeeked", js.undefined)
inline def setOnSeeking(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onSeeking", js.Any.fromFunction1(value))
inline def setOnSeekingUndefined: Self = StObject.set(x, "onSeeking", js.undefined)
inline def setOnSelect(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onSelect", js.Any.fromFunction1(value))
inline def setOnSelectUndefined: Self = StObject.set(x, "onSelect", js.undefined)
inline def setOnStalled(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onStalled", js.Any.fromFunction1(value))
inline def setOnStalledUndefined: Self = StObject.set(x, "onStalled", js.undefined)
inline def setOnSubmit(value: SyntheticEvent[EventTarget & HTMLSpanElement, Event] => Unit): Self = StObject.set(x, "onSubmit", js.Any.fromFunction1(value))
inline def setOnSubmitUndefined: Self = StObject.set(x, "onSubmit", js.undefined)
inline def setOnSuspend(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onSuspend", js.Any.fromFunction1(value))
inline def setOnSuspendUndefined: Self = StObject.set(x, "onSuspend", js.undefined)
inline def setOnTimeUpdate(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onTimeUpdate", js.Any.fromFunction1(value))
inline def setOnTimeUpdateUndefined: Self = StObject.set(x, "onTimeUpdate", js.undefined)
inline def setOnTouchCancel(value: SyntheticTouchEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onTouchCancel", js.Any.fromFunction1(value))
inline def setOnTouchCancelUndefined: Self = StObject.set(x, "onTouchCancel", js.undefined)
inline def setOnTouchEnd(value: SyntheticTouchEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onTouchEnd", js.Any.fromFunction1(value))
inline def setOnTouchEndUndefined: Self = StObject.set(x, "onTouchEnd", js.undefined)
inline def setOnTouchMove(value: SyntheticTouchEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onTouchMove", js.Any.fromFunction1(value))
inline def setOnTouchMoveUndefined: Self = StObject.set(x, "onTouchMove", js.undefined)
inline def setOnTouchStart(value: SyntheticTouchEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onTouchStart", js.Any.fromFunction1(value))
inline def setOnTouchStartUndefined: Self = StObject.set(x, "onTouchStart", js.undefined)
inline def setOnTransitionEnd(value: SyntheticTransitionEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onTransitionEnd", js.Any.fromFunction1(value))
inline def setOnTransitionEndUndefined: Self = StObject.set(x, "onTransitionEnd", js.undefined)
inline def setOnVolumeChange(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onVolumeChange", js.Any.fromFunction1(value))
inline def setOnVolumeChangeUndefined: Self = StObject.set(x, "onVolumeChange", js.undefined)
inline def setOnWaiting(value: SyntheticEvent[Event, HTMLSpanElement] => Unit): Self = StObject.set(x, "onWaiting", js.Any.fromFunction1(value))
inline def setOnWaitingUndefined: Self = StObject.set(x, "onWaiting", js.undefined)
inline def setOnWheel(value: SyntheticWheelEvent[HTMLSpanElement] => Unit): Self = StObject.set(x, "onWheel", js.Any.fromFunction1(value))
inline def setOnWheelUndefined: Self = StObject.set(x, "onWheel", js.undefined)
inline def setOrientation(value: "horizontal" | "vertical"): Self = StObject.set(x, "orientation", value.asInstanceOf[js.Any])
inline def setOrientationUndefined: Self = StObject.set(x, "orientation", js.undefined)
inline def setPlaceholder(value: String): Self = StObject.set(x, "placeholder", value.asInstanceOf[js.Any])
inline def setPlaceholderUndefined: Self = StObject.set(x, "placeholder", js.undefined)
inline def setPrefix(value: String): Self = StObject.set(x, "prefix", value.asInstanceOf[js.Any])
inline def setPrefixUndefined: Self = StObject.set(x, "prefix", js.undefined)
inline def setProperty(value: String): Self = StObject.set(x, "property", value.asInstanceOf[js.Any])
inline def setPropertyUndefined: Self = StObject.set(x, "property", js.undefined)
inline def setRadioGroup(value: String): Self = StObject.set(x, "radioGroup", value.asInstanceOf[js.Any])
inline def setRadioGroupUndefined: Self = StObject.set(x, "radioGroup", js.undefined)
inline def setRef(value: LegacyRef[HTMLSpanElement]): Self = StObject.set(x, "ref", value.asInstanceOf[js.Any])
inline def setRefFunction1(value: /* instance */ HTMLSpanElement | Null => Unit): Self = StObject.set(x, "ref", js.Any.fromFunction1(value))
inline def setRefNull: Self = StObject.set(x, "ref", null)
inline def setRefReactRef(value: ReactRef[HTMLSpanElement]): Self = StObject.set(x, "ref", value.asInstanceOf[js.Any])
inline def setRefUndefined: Self = StObject.set(x, "ref", js.undefined)
inline def setRel(value: String): Self = StObject.set(x, "rel", value.asInstanceOf[js.Any])
inline def setRelUndefined: Self = StObject.set(x, "rel", js.undefined)
inline def setResource(value: String): Self = StObject.set(x, "resource", value.asInstanceOf[js.Any])
inline def setResourceUndefined: Self = StObject.set(x, "resource", js.undefined)
inline def setResults(value: Double): Self = StObject.set(x, "results", value.asInstanceOf[js.Any])
inline def setResultsUndefined: Self = StObject.set(x, "results", js.undefined)
inline def setRev(value: String): Self = StObject.set(x, "rev", value.asInstanceOf[js.Any])
inline def setRevUndefined: Self = StObject.set(x, "rev", js.undefined)
inline def setRole(value: AriaRole): Self = StObject.set(x, "role", value.asInstanceOf[js.Any])
inline def setRoleUndefined: Self = StObject.set(x, "role", js.undefined)
inline def setScale(value: /* value */ Double => Double): Self = StObject.set(x, "scale", js.Any.fromFunction1(value))
inline def setScaleUndefined: Self = StObject.set(x, "scale", js.undefined)
inline def setSecurity(value: String): Self = StObject.set(x, "security", value.asInstanceOf[js.Any])
inline def setSecurityUndefined: Self = StObject.set(x, "security", js.undefined)
inline def setSize(value: "small" | "medium"): Self = StObject.set(x, "size", value.asInstanceOf[js.Any])
inline def setSizeUndefined: Self = StObject.set(x, "size", js.undefined)
inline def setSlot(value: String): Self = StObject.set(x, "slot", value.asInstanceOf[js.Any])
inline def setSlotProps(value: Mark): Self = StObject.set(x, "slotProps", value.asInstanceOf[js.Any])
inline def setSlotPropsUndefined: Self = StObject.set(x, "slotProps", js.undefined)
inline def setSlotUndefined: Self = StObject.set(x, "slot", js.undefined)
inline def setSlots(value: Rail): Self = StObject.set(x, "slots", value.asInstanceOf[js.Any])
inline def setSlotsUndefined: Self = StObject.set(x, "slots", js.undefined)
inline def setSpellCheck(value: Booleanish): Self = StObject.set(x, "spellCheck", value.asInstanceOf[js.Any])
inline def setSpellCheckUndefined: Self = StObject.set(x, "spellCheck", js.undefined)
inline def setStep(value: Double): Self = StObject.set(x, "step", value.asInstanceOf[js.Any])
inline def setStepNull: Self = StObject.set(x, "step", null)
inline def setStepUndefined: Self = StObject.set(x, "step", js.undefined)
inline def setStyle(value: CSSProperties): Self = StObject.set(x, "style", value.asInstanceOf[js.Any])
inline def setStyleUndefined: Self = StObject.set(x, "style", js.undefined)
inline def setSuppressContentEditableWarning(value: Boolean): Self = StObject.set(x, "suppressContentEditableWarning", value.asInstanceOf[js.Any])
inline def setSuppressContentEditableWarningUndefined: Self = StObject.set(x, "suppressContentEditableWarning", js.undefined)
inline def setSuppressHydrationWarning(value: Boolean): Self = StObject.set(x, "suppressHydrationWarning", value.asInstanceOf[js.Any])
inline def setSuppressHydrationWarningUndefined: Self = StObject.set(x, "suppressHydrationWarning", js.undefined)
inline def setSx(value: SxProps[Theme]): Self = StObject.set(x, "sx", value.asInstanceOf[js.Any])
inline def setSxFunction1(value: Theme => SystemStyleObject[Theme]): Self = StObject.set(x, "sx", js.Any.fromFunction1(value))
inline def setSxNull: Self = StObject.set(x, "sx", null)
inline def setSxUndefined: Self = StObject.set(x, "sx", js.undefined)
inline def setSxVarargs(value: (Boolean | SystemStyleObject[Theme] | (js.Function1[Theme, SystemStyleObject[Theme]]))*): Self = StObject.set(x, "sx", js.Array(value*))
inline def setTabIndex(value: Double): Self = StObject.set(x, "tabIndex", value.asInstanceOf[js.Any])
inline def setTabIndexUndefined: Self = StObject.set(x, "tabIndex", js.undefined)
inline def setTitle(value: String): Self = StObject.set(x, "title", value.asInstanceOf[js.Any])
inline def setTitleUndefined: Self = StObject.set(x, "title", js.undefined)
inline def setTrack(value: "normal" | false | "inverted"): Self = StObject.set(x, "track", value.asInstanceOf[js.Any])
inline def setTrackUndefined: Self = StObject.set(x, "track", js.undefined)
inline def setTranslate(value: "yes" | "no"): Self = StObject.set(x, "translate", value.asInstanceOf[js.Any])
inline def setTranslateUndefined: Self = StObject.set(x, "translate", js.undefined)
inline def setTypeof(value: String): Self = StObject.set(x, "typeof", value.asInstanceOf[js.Any])
inline def setTypeofUndefined: Self = StObject.set(x, "typeof", js.undefined)
inline def setUnselectable(value: "on" | "off"): Self = StObject.set(x, "unselectable", value.asInstanceOf[js.Any])
inline def setUnselectableUndefined: Self = StObject.set(x, "unselectable", js.undefined)
inline def setValue(value: Double | js.Array[Double]): Self = StObject.set(x, "value", value.asInstanceOf[js.Any])
inline def setValueLabelDisplay(value: "on" | "auto" | "off"): Self = StObject.set(x, "valueLabelDisplay", value.asInstanceOf[js.Any])
inline def setValueLabelDisplayUndefined: Self = StObject.set(x, "valueLabelDisplay", js.undefined)
inline def setValueLabelFormat(value: String | (js.Function2[/* value */ Double, /* index */ Double, ReactElement])): Self = StObject.set(x, "valueLabelFormat", value.asInstanceOf[js.Any])
inline def setValueLabelFormatFunction2(value: (/* value */ Double, /* index */ Double) => ReactElement): Self = StObject.set(x, "valueLabelFormat", js.Any.fromFunction2(value))
inline def setValueLabelFormatUndefined: Self = StObject.set(x, "valueLabelFormat", js.undefined)
inline def setValueUndefined: Self = StObject.set(x, "value", js.undefined)
inline def setValueVarargs(value: Double*): Self = StObject.set(x, "value", js.Array(value*))
inline def setVocab(value: String): Self = StObject.set(x, "vocab", value.asInstanceOf[js.Any])
inline def setVocabUndefined: Self = StObject.set(x, "vocab", js.undefined)
}
}
type SliderProps[D /* <: ReactElement */, P] = OverrideProps[SliderTypeMap[D, P], D]
trait SliderPropsColorOverrides extends StObject
trait SliderPropsSizeOverrides extends StObject
type SliderRailProps = /* import warning: importer.ImportType#apply Failed type conversion: std.NonNullable<@mui/material.anon.Mark | undefined>['rail'] */ js.Any
type SliderRootProps = /* import warning: importer.ImportType#apply Failed type conversion: std.NonNullable<@mui/material.anon.Mark | undefined>['root'] */ js.Any
type SliderThumbProps = /* import warning: importer.ImportType#apply Failed type conversion: std.NonNullable<@mui/material.anon.Mark | undefined>['thumb'] */ js.Any
type SliderTrackProps = /* import warning: importer.ImportType#apply Failed type conversion: std.NonNullable<@mui/material.anon.Mark | undefined>['track'] */ js.Any
trait SliderTypeMap[D /* <: ReactElement */, P] extends StObject {
var defaultComponent: D
var props: P & Arialabel
}
object SliderTypeMap {
inline def apply[D /* <: ReactElement */, P](defaultComponent: D, props: P & Arialabel): SliderTypeMap[D, P] = {
val __obj = js.Dynamic.literal(defaultComponent = defaultComponent.asInstanceOf[js.Any], props = props.asInstanceOf[js.Any])
__obj.asInstanceOf[SliderTypeMap[D, P]]
}
@scala.inline
implicit open class MutableBuilder[Self <: SliderTypeMap[?, ?], D /* <: ReactElement */, P] (val x: Self & (SliderTypeMap[D, P])) extends AnyVal {
inline def setDefaultComponent(value: D): Self = StObject.set(x, "defaultComponent", value.asInstanceOf[js.Any])
inline def setProps(value: P & Arialabel): Self = StObject.set(x, "props", value.asInstanceOf[js.Any])
}
}
trait SliderValueLabelProps
extends StObject
with HTMLAttributes[HTMLSpanElement] {
@JSName("children")
var children_SliderValueLabelProps: ReactElement
var index: Double
var open: Boolean
var value: Double
}
object SliderValueLabelProps {
inline def apply(children: ReactElement, index: Double, open: Boolean, value: Double): SliderValueLabelProps = {
val __obj = js.Dynamic.literal(children = children.asInstanceOf[js.Any], index = index.asInstanceOf[js.Any], open = open.asInstanceOf[js.Any], value = value.asInstanceOf[js.Any])
__obj.asInstanceOf[SliderValueLabelProps]
}
@scala.inline
implicit open class MutableBuilder[Self <: SliderValueLabelProps] (val x: Self) extends AnyVal {
inline def setChildren(value: ReactElement): Self = StObject.set(x, "children", value.asInstanceOf[js.Any])
inline def setIndex(value: Double): Self = StObject.set(x, "index", value.asInstanceOf[js.Any])
inline def setOpen(value: Boolean): Self = StObject.set(x, "open", value.asInstanceOf[js.Any])
inline def setValue(value: Double): Self = StObject.set(x, "value", value.asInstanceOf[js.Any])
}
}
type _To = js.Function1[/* props */ DefaultComponentPropsSliderTypeMapspan, Element]
/* This means you don't have to write `default`, but can instead just say `sliderSliderMod.foo` */
override def _to: js.Function1[/* props */ DefaultComponentPropsSliderTypeMapspan, Element] = default
}