بنقرة واحدة
uno-mvux-selection
Implement item selection in MVUX lists.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implement item selection in MVUX lists.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Create and use commands in MVUX for user interactions.
Create and use IFeed<T> for async data in MVUX.
Display async feed data with FeedView control.
Create and use IListFeed<T> for reactive collections in MVUX.
Create and use IListState<T> for mutable reactive collections in MVUX.
Use messaging to sync MVUX states with entity changes.
استنادا إلى تصنيف SOC المهني
| name | uno-mvux-selection |
| description | Implement item selection in MVUX lists. |
| when_to_use | Use when tracking the selected item(s) in a `ListView`, `GridView`, or other selector, implementing single-item selection with `IState<T>`, implementing multi-item selection with `IState<IImmutableList<T>>`, reacting to selection changes in the Model, or manual (programmatic) selection of items. |
| metadata | {"author":"uno-platform","version":"2.3","category":"mvux"} |
Docs lookup: call
uno_platform_docs_search(...)first, thenuno_platform_docs_fetch(sourcePath="…")using thesourcePathfield from a result (a relative.mdpath; add the result'sanchorfor a section). Never pass a URL, a.htmllink, or a hand-built path.
Search for and fetch the selection documentation:
uno_platform_docs_search("MVUX selection Selection method IListFeed IListState")
Primary documentation pages:
external/uno.extensions/doc/Learn/Mvux/Advanced/Selection.mdexternal/uno.extensions/doc/Learn/Mvux/Walkthrough/Selection.howto.mdexternal/uno.chefs/doc/mvux/Selection.mdFetch the reference page:
uno_platform_docs_fetch(sourcePath="external/uno.extensions/doc/Learn/Mvux/Advanced/Selection.md")
For step-by-step examples:
uno_platform_docs_fetch(sourcePath="external/uno.extensions/doc/Learn/Mvux/Walkthrough/Selection.howto.md")
This covers single selection, multi selection, checking selection from commands, and programmatic selection.
From the fetched docs:
.Selection(selectedState) where selectedState is IState<T?>.Selection(selectedStates) where selectedStates is IState<IImmutableList<T>>IListState<T> instead of IListFeed<T> for programmatic item selectionIf the user needs to use the selected item in a command (e.g., "Edit" button):
uno_platform_docs_search("MVUX selection command check current selected item button")
.Selection(state) operator on IListFeed<T> or IListState<T> to enable selection trackingIState<T?> holds the selected itemIState<IImmutableList<T>> holds selected itemsListView SelectionMode must be set appropriately (Single, Multiple, Extended)IListState<T> (not IListFeed<T>)