File tree Expand file tree Collapse file tree 4 files changed +36
-0
lines changed
_components_pages/fiori/Search
_samples/fiori/Search/Actions Expand file tree Collapse file tree 4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import Advanced from "../../../_samples/fiori/Search/Advanced/Advanced.md";
77import Byline from " ../../../_samples/fiori/Search/Byline/Byline.md" ;
88import AdvancedFilter from " ../../../_samples/fiori/Search/AdvancedFilter/AdvancedFilter.md"
99import ShowMore from " ../../../_samples/fiori/Search/ShowMore/ShowMore.md"
10+ import Actions from " ../../../_samples/fiori/Search/Actions/Actions.md"
1011
1112<%COMPONENT_OVERVIEW%>
1213
@@ -39,3 +40,8 @@ This example shows how to use a Show More Item.
3940
4041<ShowMore />
4142
43+ ### Actions
44+ This example shows how to use a interactive elements in search items.
45+
46+ <Actions />
47+
Original file line number Diff line number Diff line change 1+ import html from '!!raw-loader!./sample.html';
2+ import js from '!!raw-loader!./main.js';
3+
4+ <Editor html ={html} js ={js} />
Original file line number Diff line number Diff line change 1+ import "@ui5/webcomponents-fiori/dist/Search.js" ;
2+ import "@ui5/webcomponents-icons/dist/share.js" ;
3+ import "@ui5/webcomponents-icons/dist/copy.js" ;
4+ import "@ui5/webcomponents-fiori/dist/SearchItem.js" ;
5+ import "@ui5/webcomponents-fiori/dist/SearchItemGroup.js" ;
Original file line number Diff line number Diff line change 1+ <!-- playground-fold -->
2+ <!DOCTYPE html>
3+ < html lang ="en ">
4+ < head >
5+ < meta charset ="UTF-8 ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7+ < title > Document</ title >
8+ </ head >
9+ < body style ="background-color: var(--sapBackgroundColor); height: 350px ">
10+ <!-- playground-fold-end -->
11+ < ui5-search id ="actions-search " show-clear-icon >
12+ < ui5-search-item text ="List Item with Multiple Actions " icon ="globe " deletable >
13+ < ui5-button slot ="actions " design ="Transparent " icon ="share " tooltip ="Share "> </ ui5-button >
14+ < ui5-button slot ="actions " design ="Transparent " icon ="copy " tooltip ="Copy "> </ ui5-button >
15+ </ ui5-search-item >
16+ </ ui5-search >
17+ <!-- playground-fold -->
18+ < script type ="module " src ="main.js "> </ script >
19+ </ body >
20+ </ html >
21+ <!-- playground-fold-end -->
You can’t perform that action at this time.
0 commit comments