-
Notifications
You must be signed in to change notification settings - Fork 125
/
platform-multi-combobox-docs.component.html
95 lines (82 loc) · 3.94 KB
/
platform-multi-combobox-docs.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<fd-docs-section-title id="data-source" componentName="multi-combobox">DataSource</fd-docs-section-title>
<description>
Input <code>[dataSource]</code> has this type
<code
>type FdpMultiComboboxDataSource<T> = MultiComboBoxDataSource<T> | Observable<T[]> | T[]</code
>
</description>
<component-example>
<fdp-multi-combobox-datasource-example></fdp-multi-combobox-datasource-example>
</component-example>
<code-example [exampleFiles]="multiComboboxDatasourceExample"></code-example>
<separator></separator>
<fd-docs-section-title id="mobile" componentName="multi-combobox">Multi-Combobox Mobile Mode</fd-docs-section-title>
<description>
To use Multi-Combobox in mobile mode:
<ul>
<li>import <code>MultiComboboxMobileModule</code></li>
<li>Set <code>[mobile]</code> property to true</li>
<li>
Set <code>[mobileConfig]</code> with <code>MobileModeConfig</code> configuration object to customize the
look of the control
</li>
</ul>
Multi-Combobox Mobile Mode can be configured <strong>globally</strong> by providing
<code>MOBILE_MODE_CONFIG</code> token. Check
<a routerLink="/core/global-config" fragment="mobile-mode-config">Global Configuration page</a> for more
information.
</description>
<component-example>
<fdp-multi-combobox-mobile-example></fdp-multi-combobox-mobile-example>
</component-example>
<code-example [exampleFiles]="multiComboboxMobileExample"></code-example>
<separator></separator>
<fd-docs-section-title id="group" componentName="multi-combobox"> Multi-Combobox with Groups </fd-docs-section-title>
<description>
Multi-Combobox with Groups. Note that a <code>group</code> and <code>groupKey</code> is required
</description>
<component-example>
<fdp-multi-combobox-group-example></fdp-multi-combobox-group-example>
</component-example>
<code-example [exampleFiles]="multiComboboxGroupExample"></code-example>
<separator></separator>
<fd-docs-section-title id="columns" componentName="multi-combobox">
Multi-Combobox with Two Columns
</fd-docs-section-title>
<description>
Multi-Combobox with two columns of information. Note that a <code>secondaryKey</code> and
<code>showSecondaryText</code> is required
</description>
<component-example>
<fdp-multi-combobox-columns-example></fdp-multi-combobox-columns-example>
</component-example>
<code-example [exampleFiles]="multiComboboxColumnsExample"></code-example>
<separator></separator>
<fd-docs-section-title id="states" componentName="multi-combobox"> Multi Combobox states. </fd-docs-section-title>
<description>
The Multi Combobox component with states.
<ul>
<li>Set <code>[state]</code>property to: <code>'success' | 'error' | 'warning' | 'information'</code></li>
</ul>
</description>
<component-example>
<fdp-multi-combobox-states-example></fdp-multi-combobox-states-example>
</component-example>
<code-example [exampleFiles]="multiComboboxStatesExample"></code-example>
<separator></separator>
<fd-docs-section-title id="reactive-form" componentName="multi-combobox"> Reactive Form </fd-docs-section-title>
<description> The Multi-Combobox component may also be used within Angular Reactive Forms. </description>
<component-example>
<fdp-multi-combobox-forms-example></fdp-multi-combobox-forms-example>
</component-example>
<code-example [exampleFiles]="multiComboboxFormExample"></code-example>
<separator></separator>
<fd-docs-section-title id="loading" componentName="multi-combobox"> Loading </fd-docs-section-title>
<description>
Combobox exposes <code>onDataRequested</code> and <code>onDataReceived</code> outputs, that can be used to implement
external loading logic. These events are tied to the querying process through dataSource.
</description>
<component-example>
<fdp-multi-combobox-loading-example></fdp-multi-combobox-loading-example>
</component-example>
<code-example [exampleFiles]="multiComboboxLoadingExample"></code-example>