Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ functions
Functions
9,472 in github.com/adobe/react-spectrum
⨍
Functions
9,472
◇
Types & classes
2,429
Method
set
* Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields * will be constrained accordingly.
packages/@internationalized/date/src/CalendarDate.ts:355
Method
set
* Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields * will be constrained accordingly.
packages/@internationalized/date/src/CalendarDate.ts:548
Method
setAttributeNS
()
packages/react-aria/src/collections/Document.ts:420
Function
setColor
(color)
packages/react-stately/src/color/useColorPickerState.ts:23
Method
setColorValue
Sets the color value of the field.
packages/react-stately/src/color/useColorChannelFieldState.ts:23
Method
setColorValue
Sets the color value of the field.
packages/react-stately/src/color/useColorFieldState.ts:56
Method
setDateRange
Sets the date portion of the selected range.
packages/react-stately/src/datepicker/useDateRangePickerState.ts:61
Function
setDateTime
(part, dateTime)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:278
Method
setDateValue
Sets the date portion of the value.
packages/react-stately/src/datepicker/useDatePickerState.ts:56
Function
setDragging
(isDragging)
packages/react-stately/src/color/useColorWheelState.ts:203
Method
setDragging
Sets whether the color area is being dragged.
packages/react-stately/src/color/useColorAreaState.ts:88
Method
setDragging
Sets whether the color wheel is being dragged.
packages/react-stately/src/color/useColorWheelState.ts:63
Method
setExpanded
Sets whether the disclosure is expanded.
packages/react-stately/src/disclosure/useDisclosureState.ts:29
Method
setExpanded
Sets whether the accordion item is expanded.
packages/@react-spectrum/s2/src/Accordion.tsx:104
Method
setExpandedKeys
Replaces the set of expanded keys.
packages/react-stately/src/disclosure/useDisclosureGroupState.ts:44
Method
setExpandedKeys
Replaces the set of expanded keys.
packages/react-stately/src/tree/useTreeState.ts:47
Function
setFilterText
(filterText: string)
packages/react-stately/src/data/useAsyncList.ts:378
Function
setFocused
(f)
packages/react-stately/src/selection/useMultipleSelectionState.ts:122
Method
setFocused
* Sets whether the collection is focused.
packages/react-stately/src/selection/SelectionManager.ts:98
Method
setFocused
Sets whether the select is focused.
packages/react-stately/src/select/useSelectState.ts:137
Method
setFocused
(isFocused: boolean)
packages/react-aria-components/src/Menu.tsx:445
Method
setFocusedKey
* Sets the focused key.
packages/react-stately/src/selection/SelectionManager.ts:117
Method
setFocusedKey
(key: Key | null, childFocusStrategy?: FocusStrategy)
packages/react-aria-components/src/Menu.tsx:441
Function
setHueFromPoint
(x, y, radius)
packages/react-stately/src/color/useColorWheelState.ts:178
Method
setInputValue
Sets the current text value of the input.
packages/react-stately/src/numberfield/useNumberFieldState.ts:84
Method
setInputValue
Sets the value of the autocomplete input.
packages/react-stately/src/autocomplete/useAutocompleteState.ts:20
Method
setInputValue
Sets the current text value of the input.
packages/react-stately/src/color/useColorFieldState.ts:58
Method
setInteractionType
* Set the interaction type used by the combobox tester.
packages/@react-aria/test-utils/src/combobox.ts:85
Method
setInteractionType
* Set the interaction type used by the select tester.
packages/@react-aria/test-utils/src/select.ts:66
Method
setInteractionType
* Set the interaction type used by the radio tester.
packages/@react-aria/test-utils/src/radiogroup.ts:52
Method
setInteractionType
* Set the interaction type used by the dialog tester.
packages/@react-aria/test-utils/src/dialog.ts:54
Method
setInteractionType
* Set the interaction type used by the menu tester.
packages/@react-aria/test-utils/src/menu.ts:107
Method
setInteractionType
* Set the interaction type used by the tree tester.
packages/@react-aria/test-utils/src/tree.ts:54
Method
setInteractionType
* Set the interaction type used by the table tester.
packages/@react-aria/test-utils/src/table.ts:72
Method
setInteractionType
* Set the interaction type used by the checkbox group tester.
packages/@react-aria/test-utils/src/checkboxgroup.ts:50
Method
setInteractionType
* Set the interaction type used by the listbox tester.
packages/@react-aria/test-utils/src/listbox.ts:89
Method
setInteractionType
* Set the interaction type used by the gridlist tester.
packages/@react-aria/test-utils/src/gridlist.ts:54
Function
setInvalid
(value, v)
packages/react-stately/src/checkbox/useCheckboxGroupState.ts:152
Method
setLastCompletedStep
(key: Key)
packages/react-stately/src/steplist/useStepListState.ts:36
Method
setNumberValue
Sets the number value.
packages/react-stately/src/numberfield/useNumberFieldState.ts:86
Function
setOpen
(isOpen)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:288
Method
setOpen
Sets whether the overlay is open.
packages/react-stately/src/overlays/useOverlayTriggerState.ts:34
Method
setProps
( obj: {[key: string]: any}, ref: ForwardedRef<E>, CollectionNodeClass: CollectionNodeClass<any>,
packages/react-aria/src/collections/Document.ts:337
Function
setRoss
()
packages/@adobe/react-spectrum/stories/combobox/ComboBox.stories.tsx:799
Function
setSegment
(part, v: string | number)
packages/react-stately/src/datepicker/useDateFieldState.ts:419
Method
setSelected
Sets whether the given key is selected.
packages/react-stately/src/toggle/useToggleGroupState.ts:50
Method
setSelectedKey
* Sets the selected key. * * @deprecated
packages/react-stately/src/combobox/useComboBoxState.ts:140
Method
setSelectedKey
Sets the selected key in the collection.
packages/react-stately/src/selection/types.ts:48
Method
setSelectedKey
Sets the selected key.
packages/react-stately/src/list/useSingleSelectListState.ts:31
Function
setSelectedKeys
(keys)
packages/react-stately/src/selection/useMultipleSelectionState.ts:138
Method
setSelectedKeys
* Replaces the selection with the given keys.
packages/react-stately/src/selection/SelectionManager.ts:381
Method
setSelectedKeys
Replaces the selection with the given keys.
packages/react-stately/src/selection/types.ts:102
Method
setSelectedKeys
Sets the selected keys.
packages/react-stately/src/data/useTreeData.ts:46
Method
setSelectedKeys
(keys: Key[])
packages/react-aria-components/stories/TokenField.stories.tsx:396
Method
setSelectedKeys
(keys: Key[])
packages/dev/s2-docs/pages/react-aria/ComboBoxTokenFieldValue.ts:14
Function
setSelectedValue
packages/react-stately/src/radio/useRadioGroupState.ts:112
Method
setSelectionBehavior
* Sets the selection behavior for the collection.
packages/react-stately/src/selection/SelectionManager.ts:84
Method
setSelectionBehavior
Sets the selection behavior for the collection.
packages/react-stately/src/selection/types.ts:119
Function
setSnake
()
packages/@adobe/react-spectrum/stories/combobox/ComboBox.stories.tsx:795
Function
setTarget
(newTarget)
packages/react-stately/src/dnd/useDroppableCollectionState.ts:180
Function
setThumbEditable
(index: number, editable: boolean)
packages/react-stately/src/slider/useSliderState.ts:293
Function
setTime
(part, time)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:271
Method
setTimeRange
Sets the time portion of the selected range.
packages/react-stately/src/datepicker/useDateRangePickerState.ts:68
Function
setUp
({buttonGroup, button1, button2, button3})
packages/@adobe/react-spectrum/test/buttongroup/ButtonGroup.test.js:136
Function
setValue
(value)
packages/react-stately/src/color/useColorSliderState.ts:110
Function
setValue
(value)
packages/react-stately/src/color/useColorAreaState.ts:178
Method
setValue
Sets the combobox value.
packages/react-stately/src/combobox/useComboBoxState.ts:146
Method
setValue
Sets the value of the search field.
packages/react-stately/src/searchfield/useSearchFieldState.ts:48
Method
setValue
Sets the selected values.
packages/react-stately/src/checkbox/useCheckboxGroupState.ts:72
Method
setValue
Sets the currently selected date range.
packages/react-stately/src/calendar/types.ts:213
Method
setValue
Sets the current color value. If a string is passed, it will be parsed to a Color.
packages/react-stately/src/color/useColorSliderState.ts:40
Method
setValue
Sets the current color value. If a string is passed, it will be parsed to a Color.
packages/react-stately/src/color/useColorAreaState.ts:46
Method
setValue
Sets the color value represented by the color wheel, and triggers `onChange`.
packages/react-stately/src/color/useColorWheelState.ts:40
Method
setValue
Sets the select value.
packages/react-stately/src/select/useSelectState.ts:121
Method
setValue
Sets the selected date range.
packages/react-stately/src/datepicker/useDateRangePickerState.ts:54
Method
setValue
Sets the selected date.
packages/react-stately/src/datepicker/useDatePickerState.ts:49
Method
setValue
Sets the field's value.
packages/react-stately/src/datepicker/useDateFieldState.ts:79
Function
setVisibleRect
(rect)
packages/react-stately/src/virtualizer/useVirtualizerState.ts:65
Method
setVisibleRect
(rect: Rect)
packages/react-stately/src/virtualizer/OverscanManager.ts:21
Function
setupGlobalTouchEvents
()
packages/react-aria/src/interactions/useHover.ts:59
Function
shiftTab
()
packages/react-aria/src/selection/useSelectableCollection.ts:402
Function
shouldAcceptItemDrop
(target, types)
packages/@adobe/react-spectrum/test/table/TableDnd.test.js:2054
Function
shouldAcceptItemDrop
(target, types)
packages/@adobe/react-spectrum/test/list/ListViewDnd.test.js:2283
Function
shouldInvalidate
(newContext: CollectionBuilderContext<T>)
packages/react-stately/src/table/Column.ts:100
Function
shouldInvalidate
(newContext: CollectionBuilderContext<T>)
packages/react-stately/src/table/Row.ts:132
Function
shouldInvalidate
* Returns whether the layout should invalidate in response to * visible rectangle changes. By default, it only invalidates * when the virtualize
packages/react-stately/src/virtualizer/Layout.ts:62
Function
shouldInvalidateLayoutOptions
* Returns whether the layout should invalidate when the layout options change. * By default it invalidates when the object identity changes. Overri
packages/react-stately/src/virtualizer/Layout.ts:72
Method
shouldInvalidateLayoutOptions
(newOptions: O, oldOptions: O)
packages/react-stately/src/layout/TableLayout.ts:129
Method
shouldInvalidateLayoutOptions
(newOptions: O, oldOptions: O)
packages/react-stately/src/layout/GridLayout.ts:110
Method
shouldInvalidateLayoutOptions
(newOptions: O, oldOptions: O)
packages/react-stately/src/layout/WaterfallLayout.ts:102
Method
shouldInvalidateLayoutOptions
(newOptions: O, oldOptions: O)
packages/@react-spectrum/ai/src/ListLayout.ts:387
Method
shouldStopPropagation
()
packages/react-aria/src/interactions/usePress.ts:179
Method
size
()
packages/react-aria/test/dnd/DropTargetKeyboardNavigation.test.tsx:146
Method
size
()
packages/react-aria/src/collections/BaseCollection.ts:165
Method
size
()
packages/react-stately/src/grid/GridCollection.ts:170
Method
size
()
packages/react-stately/src/table/TableCollection.ts:319
Method
size
()
packages/react-stately/src/list/ListCollection.ts:75
Method
size
()
packages/react-stately/src/tree/TreeCollection.ts:68
Method
sizeEquals
(size: Size | Rect)
packages/react-stately/src/virtualizer/Rect.ts:153
Function
sort
(sortDescriptor: SortDescriptor)
packages/react-stately/src/data/useAsyncList.ts:369
← previous
next →
9,101–9,200 of 9,472, ranked by callers