MCPcopy Create free account

hub / github.com/DioxusLabs/dioxus-components / functions

Functions1,115 in github.com/DioxusLabs/dioxus-components

↓ 2 callersFunctionvisual_viewport_offset
`position: fixed` needs layout-viewport coords. In Safari, `clientX/Y` is visual-viewport relative (off by the pan offset under pinch-zoom), so we add
primitives/src/context_menu.rs:26
↓ 1 callersFunctionCalendar
(props: CalendarProps)
primitives/src/calendar.rs:586
↓ 1 callersFunctionRangeCalendar
(props: RangeCalendarProps)
primitives/src/calendar.rs:840
↓ 1 callersMethodactive_folder_label
(&self)
preview/src/dashboard/views/email_client/state.rs:55
↓ 1 callersMethodadd_to_typeahead_buffer
Add text to the typeahead buffer for searching
primitives/src/select/context.rs:49
↓ 1 callersMethodadopt_focus_key_for_index
(&mut self, index: usize, key: Option<String>)
primitives/src/collection.rs:410
↓ 1 callersMethodarchive_message
(&mut self, uid: String)
preview/src/dashboard/views/email_client/state.rs:196
↓ 1 callersFunctionarea_value_from_hsv
(hsv: Hsv<encoding::Srgb, f64>)
primitives/src/color_picker.rs:26
↓ 1 callersMethodas_any
Borrow this value as [`Any`].
primitives/src/selection.rs:31
↓ 1 callersMethodas_str
(&self)
preview/src/components/sidebar/component.rs:33
↓ 1 callersMethodattr
(&self)
preview/src/components/pagination/component.rs:31
↓ 1 callersFunctioncalculate_range
Calculate the visible range. `.read()`s `scroll_offset` and `viewport_size` (reactive subscription).
primitives/src/virtual/virtualizer.rs:252
↓ 1 callersFunctioncalendar_grid_weekdays
( first_day_of_week: Weekday, format_weekday: Callback<Weekday, String>, )
primitives/src/calendar.rs:1600
↓ 1 callersFunctioncalendar_grid_weeks
(view_date: Date, first_day_of_week: Weekday)
primitives/src/calendar.rs:1613
↓ 1 callersMethodcalendar_view_offset
(&self, id: ScopeId, offset: Option<u8>)
primitives/src/calendar.rs:408
↓ 1 callersMethodcan_remove_item
(&self, id: &str)
primitives/src/tag_group.rs:148
↓ 1 callersMethodcancel_drag
(&mut self)
primitives/src/drag_and_drop_list.rs:143
↓ 1 callersFunctionclamp_area_value
(value: ClientPoint, step: f64)
primitives/src/color_picker.rs:39
↓ 1 callersMethodclamp_for
Clamp `raw` to the bounds the given thumb is allowed to occupy (against the global min/max and, in range mode, against its neighbor), then snap to a s
primitives/src/slider.rs:794
↓ 1 callersFunctionclamp_to_step_bounds
(raw: f64, lo: f64, hi: f64, step: f64)
primitives/src/slider.rs:44
↓ 1 callersMethodclear_focus_if_unavailable
(&mut self, index: usize, key: Option<&str>, available: bool)
primitives/src/collection.rs:376
↓ 1 callersMethodcloses_on_select
(self)
primitives/src/selectable.rs:28
↓ 1 callersFunctionclosest_thumb_for
(raw: f64, thumbs: &[f64])
primitives/src/slider.rs:26
↓ 1 callersMethodcode
(&self)
primitives/src/move_interaction.rs:180
↓ 1 callersFunctioncode_to_char
Convert a key code to a character
primitives/src/select/text_search.rs:327
↓ 1 callersFunctioncolor_modifiers
(lightness: f64, chroma: f64)
primitives/src/color_picker/color_naming.rs:49
↓ 1 callersMethodcontained_in_interval
(&self, date: Date)
primitives/src/calendar.rs:217
↓ 1 callersMethodcontrol_mount_focus
(&self, index: usize, controlled_ref: Signal<Option<Rc<MountedData>>>)
primitives/src/collection.rs:319
↓ 1 callersMethoddark_mode
(&self)
preview/src/main.rs:179
↓ 1 callersFunctionday_for
(i: usize)
preview/src/dashboard/common/messages.rs:142
↓ 1 callersFunctiondefault_range_extractor
Extract indices from a range with overscan applied.
primitives/src/virtual/utils.rs:18
↓ 1 callersMethoddelete_message
(&mut self, uid: String)
preview/src/dashboard/views/email_client/state.rs:211
↓ 1 callersMethoddiscard_compose
(&mut self)
preview/src/dashboard/views/email_client/state.rs:177
↓ 1 callersFunctiondispatchPointerDown
(frac: number, pointerId: number)
playwright/slider.spec.ts:59
↓ 1 callersMethoddrag_over
(&mut self, hovered: usize, position: DropPosition)
primitives/src/drag_and_drop_list.rs:148
↓ 1 callersMethoddrop
(&mut self)
primitives/src/drag_and_drop_list.rs:160
↓ 1 callersMethodend_drag
(&mut self)
primitives/src/drag_and_drop_list.rs:137
↓ 1 callersMethodend_pointer
(&mut self)
primitives/src/move_interaction.rs:151
↓ 1 callersMethoderror
Create a new error toast with the given title and options.
primitives/src/toast.rs:676
↓ 1 callersFunctionfind_nearest_binary_search
Binary search to find the nearest item at or before the given offset. Returns the index of the item whose `start` position is closest to (but not exc
primitives/src/virtual/utils.rs:11
↓ 1 callersFunctionflatten_rows
(state: Store<EmailClientState>, message_ids: &[String])
preview/src/dashboard/views/email_client/list_pane.rs:29
↓ 1 callersMethodfocusPrevious
()
primitives/src/ts/focus-trap.ts:80
↓ 1 callersMethodfocusPrevious
()
primitives/src/js/focus-trap.js:1
↓ 1 callersMethodfocus_first_visible
(&mut self)
primitives/src/combobox/context.rs:83
↓ 1 callersMethodfocus_first_where
(&mut self, predicate: impl Fn(&OptionState) -> bool)
primitives/src/selectable.rs:159
↓ 1 callersMethodfocus_last_visible
(&mut self)
primitives/src/combobox/context.rs:87
↓ 1 callersMethodfocus_last_where
(&mut self, predicate: impl Fn(&OptionState) -> bool)
primitives/src/selectable.rs:164
↓ 1 callersMethodfocus_next
(&mut self)
primitives/src/drag_and_drop_list.rs:214
↓ 1 callersMethodfocus_next_matching
Move focus to the next available item matching `predicate`, starting from the currently focused item. The collection owns the ordering; callers only d
primitives/src/collection.rs:286
↓ 1 callersMethodfocus_next_visible
(&mut self)
primitives/src/combobox/context.rs:75
↓ 1 callersMethodfocus_next_where
(&mut self, predicate: impl Fn(&OptionState) -> bool)
primitives/src/selectable.rs:139
↓ 1 callersMethodfocus_prev
(&mut self)
primitives/src/drag_and_drop_list.rs:218
↓ 1 callersMethodfocus_prev_matching
Move focus to the previous available item matching `predicate`, starting from the currently focused item.
primitives/src/collection.rs:297
↓ 1 callersMethodfocus_prev_visible
(&mut self)
primitives/src/combobox/context.rs:79
↓ 1 callersMethodfocus_prev_where
(&mut self, predicate: impl Fn(&OptionState) -> bool)
primitives/src/selectable.rs:149
↓ 1 callersFunctionfocusable
(element: HTMLElement)
primitives/src/ts/focus-trap.ts:1
↓ 1 callersFunctionfocusable
(element)
primitives/src/js/focus-trap.js:1
↓ 1 callersMethodfocused_key
(&self)
primitives/src/collection.rs:171
↓ 1 callersMethodfocused_option_id
(&self)
primitives/src/combobox/context.rs:71
↓ 1 callersFunctionfolder_override
(i: usize)
preview/src/dashboard/common/messages.rs:196
↓ 1 callersFunctionfull_time_for
(i: usize)
preview/src/dashboard/common/messages.rs:176
↓ 1 callersFunctionget_scroll_offset_for_measurements
( scroll_offset: u32, viewport_size: u32, measurements: &[VirtualItem], )
primitives/src/virtual/virtualizer.rs:236
↓ 1 callersFunctionget_total_size
Return the total scrollable size. During active scrolling returns a frozen value to prevent scrollbar drift.
primitives/src/virtual/virtualizer.rs:226
↓ 1 callersMethodhas_visible_options
(&self)
primitives/src/combobox/context.rs:47
↓ 1 callersMethodiframe
(&self)
preview/src/main.rs:163
↓ 1 callersMethodindex
(&self)
primitives/src/virtual/types.rs:29
↓ 1 callersMethodindex_for_key
(&self, key: &str)
primitives/src/collection.rs:368
↓ 1 callersFunctioninsert_option
(options: &mut Vec<OptionState>, option_state: OptionState)
primitives/src/selection.rs:118
↓ 1 callersFunctioninsert_tag_item
(items: &mut Vec<TagItem>, item: TagItem)
primitives/src/tag_group.rs:320
↓ 1 callersFunctionis_between
(date: Date, range: Option<DateRange>)
primitives/src/calendar.rs:2332
↓ 1 callersFunctionis_end
(date: Date, range: Option<DateRange>)
primitives/src/calendar.rs:2340
↓ 1 callersMethodis_focused_item
(&self, item: &CollectionItemState)
primitives/src/collection.rs:419
↓ 1 callersMethodis_known_unavailable
(&self, index: usize)
primitives/src/collection.rs:347
↓ 1 callersMethodis_multiple
(self)
primitives/src/selectable.rs:24
↓ 1 callersMethodis_removed
(&self, id: &str)
primitives/src/tag_group.rs:130
↓ 1 callersMethodis_selected
(&self, value: &RcPartialEqValue)
primitives/src/selectable.rs:79
↓ 1 callersFunctionis_start
(date: Date, range: Option<DateRange>)
primitives/src/calendar.rs:2336
↓ 1 callersMethodis_visible
(&self, tab_index: usize)
primitives/src/combobox/context.rs:37
↓ 1 callersFunctionjoin_class
(a: &str, b: &str)
primitives/src/lib.rs:406
↓ 1 callersMethodkey
(&self)
primitives/src/move_interaction.rs:176
↓ 1 callersMethodkey_for_index
(&self, index: usize)
primitives/src/collection.rs:359
↓ 1 callersMethodkeyboard_remove_item_ids
(&self, focused_id: &str)
primitives/src/tag_group.rs:205
↓ 1 callersMethodlabel
(self)
preview/src/dashboard/common/mod.rs:133
↓ 1 callersFunctionlanguage_from_slug
(slug: &str)
preview/build.rs:141
↓ 1 callersMethodlearn_from_keyboard_event
Learn from a keyboard event mapping physical key to logical character
primitives/src/select/context.rs:42
↓ 1 callersFunctionloadTagGroup
(page: Page)
playwright/tag_group.spec.ts:24
↓ 1 callersFunctionmark_avatar_error
(ctx: AvatarCtx)
primitives/src/avatar.rs:54
↓ 1 callersFunctionmark_avatar_loaded
(ctx: AvatarCtx)
primitives/src/avatar.rs:46
↓ 1 callersFunctionmessage_matches_search
(state: &MessageState, query: &str)
preview/src/dashboard/views/email_client/filters.rs:21
↓ 1 callersFunctionmessage_matches_selected_tags
( state: &MessageState, selected_tags: &[MessageTag], )
preview/src/dashboard/views/email_client/filters.rs:34
↓ 1 callersFunctionmessage_matches_tab
(state: &MessageState, tab_id: TabId)
preview/src/dashboard/views/email_client/filters.rs:13
↓ 1 callersMethodmove_down
(&mut self, index: usize)
primitives/src/drag_and_drop_list.rs:236
↓ 1 callersMethodmove_focus_for_reindexed_key
( &mut self, previous_index: usize, index: usize, key: Option<&str>, )
primitives/src/collection.rs:389
↓ 1 callersMethodmove_up
(&mut self, index: usize)
primitives/src/drag_and_drop_list.rs:222
↓ 1 callersFunctionnext_focus_after_removal
( items: &[TagItem], focused_index: usize, removal_ids: &[String], roving_loop: bool, )
primitives/src/tag_group.rs:340
↓ 1 callersFunctionnth_month_next
Move forward n months from the given date, handling year transitions
primitives/src/calendar.rs:163
↓ 1 callersFunctionnth_month_previous
Move backward n months from the given date, handling year transitions
primitives/src/calendar.rs:177
↓ 1 callersFunctionoklch_hue
(lightness: f64, chroma: f64, hue: f64)
primitives/src/color_picker/color_naming.rs:84
↓ 1 callersMethodopen
Get the current open state (desktop)
preview/src/components/sidebar/component.rs:125
↓ 1 callersMethodopen_with_empty_query_and_focus_first
(&mut self)
primitives/src/combobox/context.rs:51
← previousnext →201–300 of 1,115, ranked by callers