MCPcopy Create free account

hub / github.com/adobe/react-spectrum / functions

Functions9,472 in github.com/adobe/react-spectrum

Methodset
* 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
Methodset
* 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
MethodsetAttributeNS
()
packages/react-aria/src/collections/Document.ts:420
FunctionsetColor
(color)
packages/react-stately/src/color/useColorPickerState.ts:23
MethodsetColorValue
Sets the color value of the field.
packages/react-stately/src/color/useColorChannelFieldState.ts:23
MethodsetColorValue
Sets the color value of the field.
packages/react-stately/src/color/useColorFieldState.ts:56
MethodsetDateRange
Sets the date portion of the selected range.
packages/react-stately/src/datepicker/useDateRangePickerState.ts:61
FunctionsetDateTime
(part, dateTime)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:278
MethodsetDateValue
Sets the date portion of the value.
packages/react-stately/src/datepicker/useDatePickerState.ts:56
FunctionsetDragging
(isDragging)
packages/react-stately/src/color/useColorWheelState.ts:203
MethodsetDragging
Sets whether the color area is being dragged.
packages/react-stately/src/color/useColorAreaState.ts:88
MethodsetDragging
Sets whether the color wheel is being dragged.
packages/react-stately/src/color/useColorWheelState.ts:63
MethodsetExpanded
Sets whether the disclosure is expanded.
packages/react-stately/src/disclosure/useDisclosureState.ts:29
MethodsetExpanded
Sets whether the accordion item is expanded.
packages/@react-spectrum/s2/src/Accordion.tsx:104
MethodsetExpandedKeys
Replaces the set of expanded keys.
packages/react-stately/src/disclosure/useDisclosureGroupState.ts:44
MethodsetExpandedKeys
Replaces the set of expanded keys.
packages/react-stately/src/tree/useTreeState.ts:47
FunctionsetFilterText
(filterText: string)
packages/react-stately/src/data/useAsyncList.ts:378
FunctionsetFocused
(f)
packages/react-stately/src/selection/useMultipleSelectionState.ts:122
MethodsetFocused
* Sets whether the collection is focused.
packages/react-stately/src/selection/SelectionManager.ts:98
MethodsetFocused
Sets whether the select is focused.
packages/react-stately/src/select/useSelectState.ts:137
MethodsetFocused
(isFocused: boolean)
packages/react-aria-components/src/Menu.tsx:445
MethodsetFocusedKey
* Sets the focused key.
packages/react-stately/src/selection/SelectionManager.ts:117
MethodsetFocusedKey
(key: Key | null, childFocusStrategy?: FocusStrategy)
packages/react-aria-components/src/Menu.tsx:441
FunctionsetHueFromPoint
(x, y, radius)
packages/react-stately/src/color/useColorWheelState.ts:178
MethodsetInputValue
Sets the current text value of the input.
packages/react-stately/src/numberfield/useNumberFieldState.ts:84
MethodsetInputValue
Sets the value of the autocomplete input.
packages/react-stately/src/autocomplete/useAutocompleteState.ts:20
MethodsetInputValue
Sets the current text value of the input.
packages/react-stately/src/color/useColorFieldState.ts:58
MethodsetInteractionType
* Set the interaction type used by the combobox tester.
packages/@react-aria/test-utils/src/combobox.ts:85
MethodsetInteractionType
* Set the interaction type used by the select tester.
packages/@react-aria/test-utils/src/select.ts:66
MethodsetInteractionType
* Set the interaction type used by the radio tester.
packages/@react-aria/test-utils/src/radiogroup.ts:52
MethodsetInteractionType
* Set the interaction type used by the dialog tester.
packages/@react-aria/test-utils/src/dialog.ts:54
MethodsetInteractionType
* Set the interaction type used by the menu tester.
packages/@react-aria/test-utils/src/menu.ts:107
MethodsetInteractionType
* Set the interaction type used by the tree tester.
packages/@react-aria/test-utils/src/tree.ts:54
MethodsetInteractionType
* Set the interaction type used by the table tester.
packages/@react-aria/test-utils/src/table.ts:72
MethodsetInteractionType
* Set the interaction type used by the checkbox group tester.
packages/@react-aria/test-utils/src/checkboxgroup.ts:50
MethodsetInteractionType
* Set the interaction type used by the listbox tester.
packages/@react-aria/test-utils/src/listbox.ts:89
MethodsetInteractionType
* Set the interaction type used by the gridlist tester.
packages/@react-aria/test-utils/src/gridlist.ts:54
FunctionsetInvalid
(value, v)
packages/react-stately/src/checkbox/useCheckboxGroupState.ts:152
MethodsetLastCompletedStep
(key: Key)
packages/react-stately/src/steplist/useStepListState.ts:36
MethodsetNumberValue
Sets the number value.
packages/react-stately/src/numberfield/useNumberFieldState.ts:86
FunctionsetOpen
(isOpen)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:288
MethodsetOpen
Sets whether the overlay is open.
packages/react-stately/src/overlays/useOverlayTriggerState.ts:34
MethodsetProps
( obj: {[key: string]: any}, ref: ForwardedRef<E>, CollectionNodeClass: CollectionNodeClass<any>,
packages/react-aria/src/collections/Document.ts:337
FunctionsetRoss
()
packages/@adobe/react-spectrum/stories/combobox/ComboBox.stories.tsx:799
FunctionsetSegment
(part, v: string | number)
packages/react-stately/src/datepicker/useDateFieldState.ts:419
MethodsetSelected
Sets whether the given key is selected.
packages/react-stately/src/toggle/useToggleGroupState.ts:50
MethodsetSelectedKey
* Sets the selected key. * * @deprecated
packages/react-stately/src/combobox/useComboBoxState.ts:140
MethodsetSelectedKey
Sets the selected key in the collection.
packages/react-stately/src/selection/types.ts:48
MethodsetSelectedKey
Sets the selected key.
packages/react-stately/src/list/useSingleSelectListState.ts:31
FunctionsetSelectedKeys
(keys)
packages/react-stately/src/selection/useMultipleSelectionState.ts:138
MethodsetSelectedKeys
* Replaces the selection with the given keys.
packages/react-stately/src/selection/SelectionManager.ts:381
MethodsetSelectedKeys
Replaces the selection with the given keys.
packages/react-stately/src/selection/types.ts:102
MethodsetSelectedKeys
Sets the selected keys.
packages/react-stately/src/data/useTreeData.ts:46
MethodsetSelectedKeys
(keys: Key[])
packages/react-aria-components/stories/TokenField.stories.tsx:396
MethodsetSelectedKeys
(keys: Key[])
packages/dev/s2-docs/pages/react-aria/ComboBoxTokenFieldValue.ts:14
FunctionsetSelectedValue
packages/react-stately/src/radio/useRadioGroupState.ts:112
MethodsetSelectionBehavior
* Sets the selection behavior for the collection.
packages/react-stately/src/selection/SelectionManager.ts:84
MethodsetSelectionBehavior
Sets the selection behavior for the collection.
packages/react-stately/src/selection/types.ts:119
FunctionsetSnake
()
packages/@adobe/react-spectrum/stories/combobox/ComboBox.stories.tsx:795
FunctionsetTarget
(newTarget)
packages/react-stately/src/dnd/useDroppableCollectionState.ts:180
FunctionsetThumbEditable
(index: number, editable: boolean)
packages/react-stately/src/slider/useSliderState.ts:293
FunctionsetTime
(part, time)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:271
MethodsetTimeRange
Sets the time portion of the selected range.
packages/react-stately/src/datepicker/useDateRangePickerState.ts:68
FunctionsetUp
({buttonGroup, button1, button2, button3})
packages/@adobe/react-spectrum/test/buttongroup/ButtonGroup.test.js:136
FunctionsetValue
(value)
packages/react-stately/src/color/useColorSliderState.ts:110
FunctionsetValue
(value)
packages/react-stately/src/color/useColorAreaState.ts:178
MethodsetValue
Sets the combobox value.
packages/react-stately/src/combobox/useComboBoxState.ts:146
MethodsetValue
Sets the value of the search field.
packages/react-stately/src/searchfield/useSearchFieldState.ts:48
MethodsetValue
Sets the selected values.
packages/react-stately/src/checkbox/useCheckboxGroupState.ts:72
MethodsetValue
Sets the currently selected date range.
packages/react-stately/src/calendar/types.ts:213
MethodsetValue
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
MethodsetValue
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
MethodsetValue
Sets the color value represented by the color wheel, and triggers `onChange`.
packages/react-stately/src/color/useColorWheelState.ts:40
MethodsetValue
Sets the select value.
packages/react-stately/src/select/useSelectState.ts:121
MethodsetValue
Sets the selected date range.
packages/react-stately/src/datepicker/useDateRangePickerState.ts:54
MethodsetValue
Sets the selected date.
packages/react-stately/src/datepicker/useDatePickerState.ts:49
MethodsetValue
Sets the field's value.
packages/react-stately/src/datepicker/useDateFieldState.ts:79
FunctionsetVisibleRect
(rect)
packages/react-stately/src/virtualizer/useVirtualizerState.ts:65
MethodsetVisibleRect
(rect: Rect)
packages/react-stately/src/virtualizer/OverscanManager.ts:21
FunctionsetupGlobalTouchEvents
()
packages/react-aria/src/interactions/useHover.ts:59
FunctionshiftTab
()
packages/react-aria/src/selection/useSelectableCollection.ts:402
FunctionshouldAcceptItemDrop
(target, types)
packages/@adobe/react-spectrum/test/table/TableDnd.test.js:2054
FunctionshouldAcceptItemDrop
(target, types)
packages/@adobe/react-spectrum/test/list/ListViewDnd.test.js:2283
FunctionshouldInvalidate
(newContext: CollectionBuilderContext<T>)
packages/react-stately/src/table/Column.ts:100
FunctionshouldInvalidate
(newContext: CollectionBuilderContext<T>)
packages/react-stately/src/table/Row.ts:132
FunctionshouldInvalidate
* 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
FunctionshouldInvalidateLayoutOptions
* 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
MethodshouldInvalidateLayoutOptions
(newOptions: O, oldOptions: O)
packages/react-stately/src/layout/TableLayout.ts:129
MethodshouldInvalidateLayoutOptions
(newOptions: O, oldOptions: O)
packages/react-stately/src/layout/GridLayout.ts:110
MethodshouldInvalidateLayoutOptions
(newOptions: O, oldOptions: O)
packages/react-stately/src/layout/WaterfallLayout.ts:102
MethodshouldInvalidateLayoutOptions
(newOptions: O, oldOptions: O)
packages/@react-spectrum/ai/src/ListLayout.ts:387
MethodshouldStopPropagation
()
packages/react-aria/src/interactions/usePress.ts:179
Methodsize
()
packages/react-aria/test/dnd/DropTargetKeyboardNavigation.test.tsx:146
Methodsize
()
packages/react-aria/src/collections/BaseCollection.ts:165
Methodsize
()
packages/react-stately/src/grid/GridCollection.ts:170
Methodsize
()
packages/react-stately/src/table/TableCollection.ts:319
Methodsize
()
packages/react-stately/src/list/ListCollection.ts:75
Methodsize
()
packages/react-stately/src/tree/TreeCollection.ts:68
MethodsizeEquals
(size: Size | Rect)
packages/react-stately/src/virtualizer/Rect.ts:153
Functionsort
(sortDescriptor: SortDescriptor)
packages/react-stately/src/data/useAsyncList.ts:369
← previousnext →9,101–9,200 of 9,472, ranked by callers