carbon-components-angular 5.26.0 → 5.26.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/docs/documentation/classes/CheckboxExportedTests.html +168 -108
- package/docs/documentation/classes/ComponentTests.html +150 -90
- package/docs/documentation/classes/DataGridInteractionModel.html +341 -289
- package/docs/documentation/classes/IconCache.html +191 -131
- package/docs/documentation/classes/IconMemoryCache.html +194 -134
- package/docs/documentation/classes/IconNameNotFoundError.html +70 -6
- package/docs/documentation/classes/IconSizeNotFoundError.html +70 -6
- package/docs/documentation/classes/NumberChange.html +69 -5
- package/docs/documentation/classes/Overridable.html +110 -48
- package/docs/documentation/classes/PaginationModel.html +69 -5
- package/docs/documentation/classes/RadioChange.html +69 -5
- package/docs/documentation/classes/TableAdapter.html +354 -302
- package/docs/documentation/classes/TableCellAdapter.html +69 -5
- package/docs/documentation/classes/TableDomAdapter.html +610 -566
- package/docs/documentation/classes/TableHeaderItem.html +169 -109
- package/docs/documentation/classes/TableItem.html +73 -9
- package/docs/documentation/classes/TableModel.html +1250 -1234
- package/docs/documentation/classes/TableRow.html +70 -6
- package/docs/documentation/classes/TableRowAdapter.html +69 -5
- package/docs/documentation/components/Accordion.html +90 -26
- package/docs/documentation/components/AccordionItem.html +118 -56
- package/docs/documentation/components/ActionableNotification.html +146 -84
- package/docs/documentation/components/AlertModal.html +175 -115
- package/docs/documentation/components/BaseIconButton.html +69 -5
- package/docs/documentation/components/BaseNotification.html +134 -72
- package/docs/documentation/components/BaseTabHeader.html +186 -126
- package/docs/documentation/components/Breadcrumb.html +141 -79
- package/docs/documentation/components/BreadcrumbItemComponent.html +114 -52
- package/docs/documentation/components/ButtonSet.html +70 -6
- package/docs/documentation/components/Checkbox.html +482 -434
- package/docs/documentation/components/ClickableTile.html +106 -44
- package/docs/documentation/components/CodeSnippet.html +136 -72
- package/docs/documentation/components/ComboBox.html +757 -719
- package/docs/documentation/components/ContainedList.html +112 -50
- package/docs/documentation/components/ContainedListItem.html +122 -60
- package/docs/documentation/components/ContentSwitcher.html +127 -65
- package/docs/documentation/components/ContextMenuComponent.html +167 -107
- package/docs/documentation/components/ContextMenuDividerComponent.html +69 -5
- package/docs/documentation/components/ContextMenuGroupComponent.html +127 -65
- package/docs/documentation/components/ContextMenuItemComponent.html +281 -221
- package/docs/documentation/components/DatePicker.html +743 -703
- package/docs/documentation/components/DatePickerInput.html +269 -215
- package/docs/documentation/components/Dialog.html +318 -264
- package/docs/documentation/components/Documentation.html +96 -32
- package/docs/documentation/components/Dropdown.html +661 -617
- package/docs/documentation/components/DropdownList.html +679 -639
- package/docs/documentation/components/ExpandableTile.html +99 -35
- package/docs/documentation/components/FileComponent.html +78 -14
- package/docs/documentation/components/FileUploader.html +475 -431
- package/docs/documentation/components/Hamburger.html +81 -17
- package/docs/documentation/components/Header.html +143 -83
- package/docs/documentation/components/HeaderAction.html +79 -15
- package/docs/documentation/components/HeaderGlobal.html +69 -5
- package/docs/documentation/components/HeaderItem.html +105 -43
- package/docs/documentation/components/HeaderMenu.html +200 -140
- package/docs/documentation/components/HeaderNavigation.html +69 -5
- package/docs/documentation/components/IconButton.html +138 -76
- package/docs/documentation/components/InlineLoading.html +70 -6
- package/docs/documentation/components/Label.html +129 -67
- package/docs/documentation/components/ListColumn.html +70 -6
- package/docs/documentation/components/ListHeader.html +90 -26
- package/docs/documentation/components/ListRow.html +166 -104
- package/docs/documentation/components/Loading.html +70 -6
- package/docs/documentation/components/Modal.html +191 -131
- package/docs/documentation/components/ModalFooter.html +69 -5
- package/docs/documentation/components/ModalHeader.html +83 -19
- package/docs/documentation/components/Notification.html +146 -84
- package/docs/documentation/components/NumberComponent.html +389 -337
- package/docs/documentation/components/OverflowMenu.html +110 -48
- package/docs/documentation/components/OverflowMenuCustomPane.html +398 -346
- package/docs/documentation/components/OverflowMenuOption.html +106 -42
- package/docs/documentation/components/OverflowMenuPane.html +426 -374
- package/docs/documentation/components/Overlay.html +106 -44
- package/docs/documentation/components/Pagination.html +73 -9
- package/docs/documentation/components/PaginationNav.html +188 -128
- package/docs/documentation/components/PaginationNavItem.html +71 -7
- package/docs/documentation/components/PaginationOverflow.html +107 -45
- package/docs/documentation/components/Panel.html +69 -5
- package/docs/documentation/components/PasswordInputLabelComponent.html +137 -75
- package/docs/documentation/components/Placeholder.html +80 -16
- package/docs/documentation/components/PopoverContent.html +78 -14
- package/docs/documentation/components/ProgressBar.html +106 -44
- package/docs/documentation/components/ProgressIndicator.html +216 -158
- package/docs/documentation/components/Radio.html +237 -181
- package/docs/documentation/components/RadioGroup.html +412 -360
- package/docs/documentation/components/Search.html +509 -463
- package/docs/documentation/components/Select.html +337 -285
- package/docs/documentation/components/SelectionTile.html +158 -98
- package/docs/documentation/components/SideNav.html +78 -14
- package/docs/documentation/components/SideNavItem.html +183 -121
- package/docs/documentation/components/SideNavMenu.html +107 -43
- package/docs/documentation/components/SkeletonPlaceholder.html +70 -6
- package/docs/documentation/components/SkeletonText.html +124 -62
- package/docs/documentation/components/Slider.html +840 -810
- package/docs/documentation/components/StructuredList.html +211 -153
- package/docs/documentation/components/SwitcherList.html +70 -6
- package/docs/documentation/components/SwitcherListItem.html +105 -43
- package/docs/documentation/components/Tab.html +267 -53
- package/docs/documentation/components/TabHeaderGroup.html +316 -260
- package/docs/documentation/components/TabHeaders.html +425 -373
- package/docs/documentation/components/TabSkeleton.html +69 -5
- package/docs/documentation/components/Table.html +973 -947
- package/docs/documentation/components/TableBody.html +241 -185
- package/docs/documentation/components/TableCheckbox.html +119 -57
- package/docs/documentation/components/TableContainer.html +78 -14
- package/docs/documentation/components/TableData.html +69 -5
- package/docs/documentation/components/TableExpandButton.html +78 -14
- package/docs/documentation/components/TableExpandedRow.html +141 -81
- package/docs/documentation/components/TableHead.html +124 -60
- package/docs/documentation/components/TableHeadCell.html +116 -52
- package/docs/documentation/components/TableHeadCheckbox.html +78 -14
- package/docs/documentation/components/TableHeadExpand.html +69 -5
- package/docs/documentation/components/TableHeader.html +69 -5
- package/docs/documentation/components/TableRadio.html +119 -57
- package/docs/documentation/components/TableRowComponent.html +123 -59
- package/docs/documentation/components/TableToolbar.html +79 -15
- package/docs/documentation/components/TableToolbarActions.html +69 -5
- package/docs/documentation/components/TableToolbarContent.html +69 -5
- package/docs/documentation/components/TableToolbarSearch.html +563 -517
- package/docs/documentation/components/Tabs.html +130 -68
- package/docs/documentation/components/Tag.html +70 -6
- package/docs/documentation/components/TagFilter.html +150 -90
- package/docs/documentation/components/TextInputLabelComponent.html +118 -56
- package/docs/documentation/components/TextareaLabelComponent.html +118 -56
- package/docs/documentation/components/Tile.html +70 -6
- package/docs/documentation/components/TileGroup.html +247 -191
- package/docs/documentation/components/TimePicker.html +321 -269
- package/docs/documentation/components/TimePickerSelect.html +382 -330
- package/docs/documentation/components/Toast.html +155 -93
- package/docs/documentation/components/Toggle.html +568 -522
- package/docs/documentation/components/Toggletip.html +491 -441
- package/docs/documentation/components/Tooltip.html +578 -534
- package/docs/documentation/components/TooltipDefinition.html +559 -513
- package/docs/documentation/components/TreeNodeComponent.html +353 -303
- package/docs/documentation/components/TreeViewComponent.html +155 -93
- package/docs/documentation/coverage.html +71 -7
- package/docs/documentation/dependencies.html +69 -5
- package/docs/documentation/directives/AbstractDropdownView.html +347 -291
- package/docs/documentation/directives/ActionableButton.html +69 -5
- package/docs/documentation/directives/ActionableSubtitle.html +69 -5
- package/docs/documentation/directives/ActionableTitle.html +69 -5
- package/docs/documentation/directives/BaseModal.html +79 -15
- package/docs/documentation/directives/Button.html +71 -7
- package/docs/documentation/directives/ColumnDirective.html +108 -44
- package/docs/documentation/directives/ContentSwitcherOption.html +162 -102
- package/docs/documentation/directives/DialogDirective.html +322 -268
- package/docs/documentation/directives/ExpandableTileAboveFoldDirective.html +69 -5
- package/docs/documentation/directives/ExpandableTileBelowFoldDirective.html +69 -5
- package/docs/documentation/directives/ExpandedRowHover.html +145 -85
- package/docs/documentation/directives/GridDirective.html +89 -25
- package/docs/documentation/directives/IconDirective.html +158 -98
- package/docs/documentation/directives/LayerDirective.html +79 -15
- package/docs/documentation/directives/Link.html +70 -6
- package/docs/documentation/directives/List.html +70 -6
- package/docs/documentation/directives/ListItemDirective.html +69 -5
- package/docs/documentation/directives/ModalContent.html +69 -5
- package/docs/documentation/directives/ModalContentText.html +69 -5
- package/docs/documentation/directives/ModalHeaderHeading.html +69 -5
- package/docs/documentation/directives/ModalHeaderLabel.html +69 -5
- package/docs/documentation/directives/NotificationSubtitle.html +69 -5
- package/docs/documentation/directives/NotificationTitle.html +69 -5
- package/docs/documentation/directives/OptGroup.html +69 -5
- package/docs/documentation/directives/Option.html +69 -5
- package/docs/documentation/directives/OverflowMenuDirective.html +377 -323
- package/docs/documentation/directives/PasswordInput.html +78 -14
- package/docs/documentation/directives/PopoverContainer.html +305 -249
- package/docs/documentation/directives/RowDirective.html +69 -5
- package/docs/documentation/directives/ScrollableList.html +419 -371
- package/docs/documentation/directives/StackDirective.html +70 -6
- package/docs/documentation/directives/TabHeader.html +107 -43
- package/docs/documentation/directives/TableDirective.html +69 -5
- package/docs/documentation/directives/TableHeadCellLabel.html +69 -5
- package/docs/documentation/directives/TableHeaderDescription.html +69 -5
- package/docs/documentation/directives/TableHeaderTitle.html +69 -5
- package/docs/documentation/directives/TextArea.html +70 -6
- package/docs/documentation/directives/TextInput.html +70 -6
- package/docs/documentation/directives/ThemeDirective.html +79 -15
- package/docs/documentation/directives/ToastCaption.html +69 -5
- package/docs/documentation/directives/ToastSubtitle.html +69 -5
- package/docs/documentation/directives/ToastTitle.html +69 -5
- package/docs/documentation/directives/ToggletipAction.html +69 -5
- package/docs/documentation/directives/ToggletipButton.html +69 -5
- package/docs/documentation/directives/ToggletipContent.html +69 -5
- package/docs/documentation/directives/ToggletipLabel.html +69 -5
- package/docs/documentation/index.html +78 -8
- package/docs/documentation/injectables/AnimationFrameService.html +69 -5
- package/docs/documentation/injectables/AnimationFrameServiceSingleton.html +120 -58
- package/docs/documentation/injectables/BaseModalService.html +159 -99
- package/docs/documentation/injectables/ContextMenuSelectionService.html +189 -131
- package/docs/documentation/injectables/DialogService.html +212 -152
- package/docs/documentation/injectables/DocumentService.html +170 -110
- package/docs/documentation/injectables/DropdownService.html +285 -229
- package/docs/documentation/injectables/ElementService.html +127 -65
- package/docs/documentation/injectables/EventService.html +194 -134
- package/docs/documentation/injectables/ExperimentalService.html +276 -220
- package/docs/documentation/injectables/GridService.html +110 -48
- package/docs/documentation/injectables/I18n.html +506 -458
- package/docs/documentation/injectables/IconService.html +309 -255
- package/docs/documentation/injectables/ModalService.html +215 -157
- package/docs/documentation/injectables/NotificationDisplayService.html +110 -48
- package/docs/documentation/injectables/NotificationService.html +349 -295
- package/docs/documentation/injectables/PlaceholderService.html +475 -427
- package/docs/documentation/injectables/TreeViewService.html +115 -53
- package/docs/documentation/interfaces/ActionableContent.html +70 -6
- package/docs/documentation/interfaces/AlertModalData.html +69 -5
- package/docs/documentation/interfaces/BreadcrumbItem.html +69 -5
- package/docs/documentation/interfaces/CloseMeta.html +69 -5
- package/docs/documentation/interfaces/DataGridPosition.html +69 -5
- package/docs/documentation/interfaces/DialogConfig.html +69 -5
- package/docs/documentation/interfaces/ElementVisibilityEvent.html +69 -5
- package/docs/documentation/interfaces/ExpandableTileTranslations.html +69 -5
- package/docs/documentation/interfaces/Experiment.html +69 -5
- package/docs/documentation/interfaces/FileItem.html +69 -5
- package/docs/documentation/interfaces/HeaderItemInterface.html +69 -5
- package/docs/documentation/interfaces/IconDescriptor.html +69 -5
- package/docs/documentation/interfaces/ListItem.html +70 -6
- package/docs/documentation/interfaces/ModalButton.html +69 -5
- package/docs/documentation/interfaces/NavigationItem.html +69 -5
- package/docs/documentation/interfaces/Node.html +69 -5
- package/docs/documentation/interfaces/NotificationAction.html +69 -5
- package/docs/documentation/interfaces/NotificationContent.html +69 -5
- package/docs/documentation/interfaces/NotificationLink.html +69 -5
- package/docs/documentation/interfaces/PaginationNavTranslations.html +69 -5
- package/docs/documentation/interfaces/PaginationTranslations.html +69 -5
- package/docs/documentation/interfaces/ScrollCustomEvent.html +70 -6
- package/docs/documentation/interfaces/SideNavItemInterface.html +70 -6
- package/docs/documentation/interfaces/Step.html +69 -5
- package/docs/documentation/interfaces/TableTranslations.html +69 -5
- package/docs/documentation/interfaces/TileSelection.html +69 -5
- package/docs/documentation/interfaces/ToastContent.html +70 -6
- package/docs/documentation/interfaces/TooltipConfig.html +69 -5
- package/docs/documentation/js/libs/bootstrap-native.js +2 -1
- package/docs/documentation/js/libs/es6-shim.min.js +11 -10
- package/docs/documentation/js/libs/tablesort.min.js +3 -3
- package/docs/documentation/js/libs/tablesort.number.min.js +2 -2
- package/docs/documentation/js/libs/vis.min.js +1 -1
- package/docs/documentation/js/menu-wc_es5.js +17 -19
- package/docs/documentation/js/menu.js +0 -55
- package/docs/documentation/js/search/search.js +71 -56
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/license.html +72 -8
- package/docs/documentation/miscellaneous/enumerations.html +69 -5
- package/docs/documentation/miscellaneous/functions.html +831 -819
- package/docs/documentation/miscellaneous/typealiases.html +69 -5
- package/docs/documentation/miscellaneous/variables.html +70 -6
- package/docs/documentation/modules/AccordionModule.html +69 -5
- package/docs/documentation/modules/BreadcrumbModule.html +69 -5
- package/docs/documentation/modules/ButtonModule.html +69 -5
- package/docs/documentation/modules/CheckboxModule.html +69 -5
- package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
- package/docs/documentation/modules/CodeSnippetModule.html +73 -9
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +73 -9
- package/docs/documentation/modules/ContainedListModule.html +69 -5
- package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ContentSwitcherModule.html +73 -9
- package/docs/documentation/modules/ContextMenuModule.html +69 -5
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +20 -20
- package/docs/documentation/modules/DatePickerInputModule.html +89 -25
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +50 -46
- package/docs/documentation/modules/DatePickerModule.html +119 -51
- package/docs/documentation/modules/DialogModule.html +69 -5
- package/docs/documentation/modules/DocumentationModule.html +69 -5
- package/docs/documentation/modules/DropdownModule.html +69 -5
- package/docs/documentation/modules/ExperimentalModule.html +69 -5
- package/docs/documentation/modules/FileUploaderModule/dependencies.svg +58 -58
- package/docs/documentation/modules/FileUploaderModule.html +127 -63
- package/docs/documentation/modules/GridModule.html +69 -5
- package/docs/documentation/modules/HeaderModule.html +69 -5
- package/docs/documentation/modules/I18nModule.html +69 -5
- package/docs/documentation/modules/IconModule.html +69 -5
- package/docs/documentation/modules/InlineLoadingModule.html +69 -5
- package/docs/documentation/modules/InputModule.html +69 -5
- package/docs/documentation/modules/LayerModule.html +69 -5
- package/docs/documentation/modules/LayoutModule.html +69 -5
- package/docs/documentation/modules/LinkModule.html +69 -5
- package/docs/documentation/modules/ListModule.html +69 -5
- package/docs/documentation/modules/LoadingModule.html +69 -5
- package/docs/documentation/modules/ModalModule.html +69 -5
- package/docs/documentation/modules/NFormsModule.html +69 -5
- package/docs/documentation/modules/NotificationModule.html +69 -5
- package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NumberModule.html +73 -9
- package/docs/documentation/modules/PaginationModule.html +69 -5
- package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
- package/docs/documentation/modules/PanelModule.html +105 -41
- package/docs/documentation/modules/PlaceholderModule.html +69 -5
- package/docs/documentation/modules/PopoverModule.html +69 -5
- package/docs/documentation/modules/ProgressBarModule.html +69 -5
- package/docs/documentation/modules/ProgressIndicatorModule.html +69 -5
- package/docs/documentation/modules/RadioModule/dependencies.svg +43 -47
- package/docs/documentation/modules/RadioModule.html +112 -52
- package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SearchModule.html +73 -9
- package/docs/documentation/modules/SelectModule/dependencies.svg +34 -34
- package/docs/documentation/modules/SelectModule.html +103 -39
- package/docs/documentation/modules/SideNavModule.html +69 -5
- package/docs/documentation/modules/SkeletonModule.html +69 -5
- package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SliderModule.html +73 -9
- package/docs/documentation/modules/StructuredListModule.html +69 -5
- package/docs/documentation/modules/TableModule.html +68 -4
- package/docs/documentation/modules/TabsModule.html +69 -5
- package/docs/documentation/modules/TagModule/dependencies.svg +28 -28
- package/docs/documentation/modules/TagModule.html +97 -33
- package/docs/documentation/modules/ThemeModule/dependencies.svg +15 -15
- package/docs/documentation/modules/ThemeModule.html +84 -20
- package/docs/documentation/modules/TilesModule/dependencies.svg +98 -98
- package/docs/documentation/modules/TilesModule.html +167 -103
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +45 -41
- package/docs/documentation/modules/TimePickerModule.html +114 -46
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +46 -42
- package/docs/documentation/modules/TimePickerSelectModule.html +115 -47
- package/docs/documentation/modules/ToggleModule/dependencies.svg +26 -26
- package/docs/documentation/modules/ToggleModule.html +95 -31
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggletipModule.html +73 -9
- package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TooltipModule.html +73 -9
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +32 -32
- package/docs/documentation/modules/TreeviewModule.html +101 -37
- package/docs/documentation/modules/UIShellModule.html +69 -5
- package/docs/documentation/modules/UtilsModule.html +69 -5
- package/docs/documentation/modules.html +68 -4
- package/docs/documentation/overview.html +68 -4
- package/docs/documentation/pipes/ReplacePipe.html +114 -52
- package/docs/documentation/properties.html +69 -5
- package/docs/documentation/styles/compodoc.css +11 -8
- package/docs/documentation.json +2158 -1848
- package/docs/storybook/{3348.9d9f3238.iframe.bundle.js → 3348.03939d46.iframe.bundle.js} +1 -1
- package/docs/storybook/{959.4248791c.iframe.bundle.js → 959.05fb42da.iframe.bundle.js} +3 -3
- package/docs/storybook/{959.4248791c.iframe.bundle.js.map → 959.05fb42da.iframe.bundle.js.map} +1 -1
- package/docs/storybook/iframe.html +3 -3
- package/docs/storybook/main.cfffa2d2.iframe.bundle.js +1 -0
- package/docs/storybook/main.css +2 -4
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.33c694dd.iframe.bundle.js → runtime~main.c3f8e5ba.iframe.bundle.js} +1 -1
- package/docs/storybook/sb-addons/essentials-controls-1/manager-bundle.js +29 -29
- package/docs/storybook/{tabs-tabs-stories.183f4129.iframe.bundle.js → tabs-tabs-stories.066fa432.iframe.bundle.js} +1 -1
- package/esm2020/tabs/tab.component.mjs +20 -3
- package/esm2020/ui-shell/sidenav/sidenav-item.component.mjs +15 -13
- package/fesm2015/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2015/carbon-components-angular-tabs.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-ui-shell.mjs +14 -12
- package/fesm2015/carbon-components-angular-ui-shell.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2020/carbon-components-angular-tabs.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-ui-shell.mjs +14 -12
- package/fesm2020/carbon-components-angular-ui-shell.mjs.map +1 -1
- package/package.json +1 -1
- package/tabs/tab.component.d.ts +10 -1
- package/docs/storybook/main.67c70a42.iframe.bundle.js +0 -1
- /package/docs/storybook/{959.4248791c.iframe.bundle.js.LICENSE.txt → 959.05fb42da.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -12,10 +12,61 @@
|
|
|
12
12
|
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
<script>
|
|
16
|
+
// Blocking script to avoid flickering dark mode
|
|
17
|
+
// Dark mode toggle button
|
|
18
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
19
|
+
var darkModeState = useDark.matches;
|
|
20
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
21
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
22
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
23
|
+
|
|
24
|
+
function checkToggle(check) {
|
|
25
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
26
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function toggleDarkMode(state) {
|
|
31
|
+
if (window.localStorage) {
|
|
32
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
checkToggle(state);
|
|
36
|
+
|
|
37
|
+
const hasClass = document.body.classList.contains('dark');
|
|
38
|
+
|
|
39
|
+
if (state) {
|
|
40
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
41
|
+
$darkModeToggles[i].classList.add('dark');
|
|
42
|
+
}
|
|
43
|
+
if (!hasClass) {
|
|
44
|
+
document.body.classList.add('dark');
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
48
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
49
|
+
}
|
|
50
|
+
if (hasClass) {
|
|
51
|
+
document.body.classList.remove('dark');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
useDark.addEventListener('change', function (evt) {
|
|
57
|
+
toggleDarkMode(evt.matches);
|
|
58
|
+
});
|
|
59
|
+
if (darkModeStateLocal) {
|
|
60
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
61
|
+
}
|
|
62
|
+
toggleDarkMode(darkModeState);
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
|
+
<div class="d-flex">
|
|
67
|
+
<a href="../" class="navbar-brand">carbon-components-angular documentation</a>
|
|
68
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
69
|
+
</div>
|
|
19
70
|
</div>
|
|
20
71
|
|
|
21
72
|
<div class="xs-menu menu" id="mobile-menu">
|
|
@@ -24,7 +75,7 @@
|
|
|
24
75
|
|
|
25
76
|
<div class="container-fluid main">
|
|
26
77
|
<div class="row main">
|
|
27
|
-
<div class="
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
28
79
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
29
80
|
</div>
|
|
30
81
|
<!-- START CONTENT -->
|
|
@@ -81,7 +132,7 @@ contained within a scrolling container it will try to open in the body, or an <c
|
|
|
81
132
|
<li><code>[appendInline]="true"</code> will always append inline (next to the dropdown button)</li>
|
|
82
133
|
</ul>
|
|
83
134
|
<p>Get started with importing the module:</p>
|
|
84
|
-
<div><pre class="line-numbers"><code class="language-typescript">import { DropdownModule } from 'carbon-components-angular';</code></pre></div><p><a href="../../?path=/story/components-dropdown--basic">See demo</a></p>
|
|
135
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { DropdownModule } from 'carbon-components-angular';</code></pre></div><p><a href="../../?path=/story/components-dropdown--basic">See demo</a></p>
|
|
85
136
|
|
|
86
137
|
</p>
|
|
87
138
|
|
|
@@ -1544,17 +1595,17 @@ item selection.</p>
|
|
|
1544
1595
|
</tr>
|
|
1545
1596
|
|
|
1546
1597
|
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1598
|
+
<tr>
|
|
1599
|
+
<td class="col-md-4">
|
|
1600
|
+
<div class="io-line">Defined in <a href="" data-line="509"
|
|
1601
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:509</a></div>
|
|
1602
|
+
</td>
|
|
1603
|
+
</tr>
|
|
1553
1604
|
|
|
1554
1605
|
|
|
1555
1606
|
<tr>
|
|
1556
1607
|
<td class="col-md-4">
|
|
1557
|
-
|
|
1608
|
+
<div class="io-description"><p>Adds keyboard functionality for navigation, selection and closing of the <code>Dropdown</code>.</p>
|
|
1558
1609
|
</div>
|
|
1559
1610
|
|
|
1560
1611
|
</td>
|
|
@@ -1585,23 +1636,23 @@ item selection.</p>
|
|
|
1585
1636
|
</tr>
|
|
1586
1637
|
|
|
1587
1638
|
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1639
|
+
<tr>
|
|
1640
|
+
<td class="col-md-4">
|
|
1641
|
+
<div class="io-line">Defined in <a href="" data-line="667"
|
|
1642
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:667</a></div>
|
|
1643
|
+
</td>
|
|
1644
|
+
</tr>
|
|
1594
1645
|
|
|
1595
1646
|
|
|
1596
1647
|
<tr>
|
|
1597
1648
|
<td class="col-md-4">
|
|
1598
|
-
|
|
1649
|
+
<div class="io-description"><p>Creates the <code>Dropdown</code> list as an element that is appended to the DOM body.</p>
|
|
1599
1650
|
</div>
|
|
1600
1651
|
|
|
1601
|
-
|
|
1602
|
-
|
|
1652
|
+
<div class="io-description">
|
|
1653
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1603
1654
|
|
|
1604
|
-
|
|
1655
|
+
</div>
|
|
1605
1656
|
</td>
|
|
1606
1657
|
</tr>
|
|
1607
1658
|
</tbody>
|
|
@@ -1624,23 +1675,23 @@ item selection.</p>
|
|
|
1624
1675
|
</tr>
|
|
1625
1676
|
|
|
1626
1677
|
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1678
|
+
<tr>
|
|
1679
|
+
<td class="col-md-4">
|
|
1680
|
+
<div class="io-line">Defined in <a href="" data-line="659"
|
|
1681
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:659</a></div>
|
|
1682
|
+
</td>
|
|
1683
|
+
</tr>
|
|
1633
1684
|
|
|
1634
1685
|
|
|
1635
1686
|
<tr>
|
|
1636
1687
|
<td class="col-md-4">
|
|
1637
|
-
|
|
1688
|
+
<div class="io-description"><p>Creates the <code>Dropdown</code> list appending it to the dropdown parent object instead of the body.</p>
|
|
1638
1689
|
</div>
|
|
1639
1690
|
|
|
1640
|
-
|
|
1641
|
-
|
|
1691
|
+
<div class="io-description">
|
|
1692
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1642
1693
|
|
|
1643
|
-
|
|
1694
|
+
</div>
|
|
1644
1695
|
</td>
|
|
1645
1696
|
</tr>
|
|
1646
1697
|
</tbody>
|
|
@@ -1663,55 +1714,53 @@ item selection.</p>
|
|
|
1663
1714
|
</tr>
|
|
1664
1715
|
|
|
1665
1716
|
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1717
|
+
<tr>
|
|
1718
|
+
<td class="col-md-4">
|
|
1719
|
+
<div class="io-line">Defined in <a href="" data-line="639"
|
|
1720
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:639</a></div>
|
|
1721
|
+
</td>
|
|
1722
|
+
</tr>
|
|
1672
1723
|
|
|
1673
1724
|
|
|
1674
1725
|
<tr>
|
|
1675
1726
|
<td class="col-md-4">
|
|
1676
|
-
|
|
1727
|
+
<div class="io-description"><p>Handles keyboard events so users are controlling the <code>Dropdown</code> instead of unintentionally controlling outside elements.</p>
|
|
1677
1728
|
</div>
|
|
1678
1729
|
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
</div>
|
|
1730
|
+
<div class="io-description">
|
|
1731
|
+
<b>Parameters :</b>
|
|
1732
|
+
|
|
1733
|
+
<table class="params">
|
|
1734
|
+
<thead>
|
|
1735
|
+
<tr>
|
|
1736
|
+
<td>Name</td>
|
|
1737
|
+
<td>Type</td>
|
|
1738
|
+
<td>Optional</td>
|
|
1739
|
+
</tr>
|
|
1740
|
+
</thead>
|
|
1741
|
+
<tbody>
|
|
1742
|
+
<tr>
|
|
1743
|
+
<td>event</td>
|
|
1744
|
+
<td>
|
|
1745
|
+
<code>KeyboardEvent</code>
|
|
1746
|
+
</td>
|
|
1747
|
+
|
|
1748
|
+
<td>
|
|
1749
|
+
No
|
|
1750
|
+
</td>
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
</tr>
|
|
1754
|
+
</tbody>
|
|
1755
|
+
</table>
|
|
1756
|
+
</div>
|
|
1757
|
+
<div class="io-description">
|
|
1758
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1759
|
+
|
|
1760
|
+
</div>
|
|
1761
|
+
<div class="io-description">
|
|
1762
|
+
|
|
1763
|
+
</div>
|
|
1715
1764
|
</td>
|
|
1716
1765
|
</tr>
|
|
1717
1766
|
</tbody>
|
|
@@ -1734,21 +1783,21 @@ item selection.</p>
|
|
|
1734
1783
|
</tr>
|
|
1735
1784
|
|
|
1736
1785
|
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1786
|
+
<tr>
|
|
1787
|
+
<td class="col-md-4">
|
|
1788
|
+
<div class="io-line">Defined in <a href="" data-line="619"
|
|
1789
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:619</a></div>
|
|
1790
|
+
</td>
|
|
1791
|
+
</tr>
|
|
1743
1792
|
|
|
1744
1793
|
|
|
1745
1794
|
<tr>
|
|
1746
1795
|
<td class="col-md-4">
|
|
1747
1796
|
|
|
1748
|
-
|
|
1749
|
-
|
|
1797
|
+
<div class="io-description">
|
|
1798
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1750
1799
|
|
|
1751
|
-
|
|
1800
|
+
</div>
|
|
1752
1801
|
</td>
|
|
1753
1802
|
</tr>
|
|
1754
1803
|
</tbody>
|
|
@@ -1771,51 +1820,49 @@ item selection.</p>
|
|
|
1771
1820
|
</tr>
|
|
1772
1821
|
|
|
1773
1822
|
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1823
|
+
<tr>
|
|
1824
|
+
<td class="col-md-4">
|
|
1825
|
+
<div class="io-line">Defined in <a href="" data-line="623"
|
|
1826
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:623</a></div>
|
|
1827
|
+
</td>
|
|
1828
|
+
</tr>
|
|
1780
1829
|
|
|
1781
1830
|
|
|
1782
1831
|
<tr>
|
|
1783
1832
|
<td class="col-md-4">
|
|
1784
|
-
|
|
1833
|
+
<div class="io-description"><p>Handles clicks outside of the <code>Dropdown</code>.</p>
|
|
1785
1834
|
</div>
|
|
1786
1835
|
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
</div>
|
|
1836
|
+
<div class="io-description">
|
|
1837
|
+
<b>Parameters :</b>
|
|
1838
|
+
|
|
1839
|
+
<table class="params">
|
|
1840
|
+
<thead>
|
|
1841
|
+
<tr>
|
|
1842
|
+
<td>Name</td>
|
|
1843
|
+
<td>Optional</td>
|
|
1844
|
+
</tr>
|
|
1845
|
+
</thead>
|
|
1846
|
+
<tbody>
|
|
1847
|
+
<tr>
|
|
1848
|
+
<td>event</td>
|
|
1849
|
+
|
|
1850
|
+
<td>
|
|
1851
|
+
No
|
|
1852
|
+
</td>
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
</tr>
|
|
1856
|
+
</tbody>
|
|
1857
|
+
</table>
|
|
1858
|
+
</div>
|
|
1859
|
+
<div class="io-description">
|
|
1860
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1861
|
+
|
|
1862
|
+
</div>
|
|
1863
|
+
<div class="io-description">
|
|
1864
|
+
|
|
1865
|
+
</div>
|
|
1819
1866
|
</td>
|
|
1820
1867
|
</tr>
|
|
1821
1868
|
</tbody>
|
|
@@ -1838,49 +1885,47 @@ item selection.</p>
|
|
|
1838
1885
|
</tr>
|
|
1839
1886
|
|
|
1840
1887
|
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1888
|
+
<tr>
|
|
1889
|
+
<td class="col-md-4">
|
|
1890
|
+
<div class="io-line">Defined in <a href="" data-line="631"
|
|
1891
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:631</a></div>
|
|
1892
|
+
</td>
|
|
1893
|
+
</tr>
|
|
1847
1894
|
|
|
1848
1895
|
|
|
1849
1896
|
<tr>
|
|
1850
1897
|
<td class="col-md-4">
|
|
1851
1898
|
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
</div>
|
|
1899
|
+
<div class="io-description">
|
|
1900
|
+
<b>Parameters :</b>
|
|
1901
|
+
|
|
1902
|
+
<table class="params">
|
|
1903
|
+
<thead>
|
|
1904
|
+
<tr>
|
|
1905
|
+
<td>Name</td>
|
|
1906
|
+
<td>Optional</td>
|
|
1907
|
+
</tr>
|
|
1908
|
+
</thead>
|
|
1909
|
+
<tbody>
|
|
1910
|
+
<tr>
|
|
1911
|
+
<td>event</td>
|
|
1912
|
+
|
|
1913
|
+
<td>
|
|
1914
|
+
No
|
|
1915
|
+
</td>
|
|
1916
|
+
|
|
1917
|
+
|
|
1918
|
+
</tr>
|
|
1919
|
+
</tbody>
|
|
1920
|
+
</table>
|
|
1921
|
+
</div>
|
|
1922
|
+
<div class="io-description">
|
|
1923
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1924
|
+
|
|
1925
|
+
</div>
|
|
1926
|
+
<div class="io-description">
|
|
1927
|
+
|
|
1928
|
+
</div>
|
|
1884
1929
|
</td>
|
|
1885
1930
|
</tr>
|
|
1886
1931
|
</tbody>
|
|
@@ -1903,24 +1948,24 @@ item selection.</p>
|
|
|
1903
1948
|
</tr>
|
|
1904
1949
|
|
|
1905
1950
|
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1951
|
+
<tr>
|
|
1952
|
+
<td class="col-md-4">
|
|
1953
|
+
<div class="io-line">Defined in <a href="" data-line="681"
|
|
1954
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:681</a></div>
|
|
1955
|
+
</td>
|
|
1956
|
+
</tr>
|
|
1912
1957
|
|
|
1913
1958
|
|
|
1914
1959
|
<tr>
|
|
1915
1960
|
<td class="col-md-4">
|
|
1916
|
-
|
|
1961
|
+
<div class="io-description"><p>Detects whether or not the <code>Dropdown</code> list is visible within all scrollable parents.
|
|
1917
1962
|
This can be overridden by passing in a value to the <code>dropUp</code> input.</p>
|
|
1918
1963
|
</div>
|
|
1919
1964
|
|
|
1920
|
-
|
|
1921
|
-
|
|
1965
|
+
<div class="io-description">
|
|
1966
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1922
1967
|
|
|
1923
|
-
|
|
1968
|
+
</div>
|
|
1924
1969
|
</td>
|
|
1925
1970
|
</tr>
|
|
1926
1971
|
</tbody>
|
|
@@ -1931,7 +1976,7 @@ This can be overridden by passing in a value to the <code>dropUp</code> input.</
|
|
|
1931
1976
|
<td class="col-md-4">
|
|
1932
1977
|
<a name="checkForReorder"></a>
|
|
1933
1978
|
<span class="name">
|
|
1934
|
-
|
|
1979
|
+
<span class="modifier">Protected</span>
|
|
1935
1980
|
<span ><b>checkForReorder</b></span>
|
|
1936
1981
|
<a href="#checkForReorder"><span class="icon ion-ios-link"></span></a>
|
|
1937
1982
|
</span>
|
|
@@ -1939,29 +1984,29 @@ This can be overridden by passing in a value to the <code>dropUp</code> input.</
|
|
|
1939
1984
|
</tr>
|
|
1940
1985
|
<tr>
|
|
1941
1986
|
<td class="col-md-4">
|
|
1942
|
-
|
|
1987
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1943
1988
|
<code>checkForReorder()</code>
|
|
1944
1989
|
</td>
|
|
1945
1990
|
</tr>
|
|
1946
1991
|
|
|
1947
1992
|
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1993
|
+
<tr>
|
|
1994
|
+
<td class="col-md-4">
|
|
1995
|
+
<div class="io-line">Defined in <a href="" data-line="790"
|
|
1996
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:790</a></div>
|
|
1997
|
+
</td>
|
|
1998
|
+
</tr>
|
|
1954
1999
|
|
|
1955
2000
|
|
|
1956
2001
|
<tr>
|
|
1957
2002
|
<td class="col-md-4">
|
|
1958
|
-
|
|
2003
|
+
<div class="io-description"><p>Controls when it's needed to apply the selection feedback</p>
|
|
1959
2004
|
</div>
|
|
1960
2005
|
|
|
1961
|
-
|
|
1962
|
-
|
|
2006
|
+
<div class="io-description">
|
|
2007
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1963
2008
|
|
|
1964
|
-
|
|
2009
|
+
</div>
|
|
1965
2010
|
</td>
|
|
1966
2011
|
</tr>
|
|
1967
2012
|
</tbody>
|
|
@@ -1984,21 +2029,21 @@ This can be overridden by passing in a value to the <code>dropUp</code> input.</
|
|
|
1984
2029
|
</tr>
|
|
1985
2030
|
|
|
1986
2031
|
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
2032
|
+
<tr>
|
|
2033
|
+
<td class="col-md-4">
|
|
2034
|
+
<div class="io-line">Defined in <a href="" data-line="600"
|
|
2035
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:600</a></div>
|
|
2036
|
+
</td>
|
|
2037
|
+
</tr>
|
|
1993
2038
|
|
|
1994
2039
|
|
|
1995
2040
|
<tr>
|
|
1996
2041
|
<td class="col-md-4">
|
|
1997
2042
|
|
|
1998
|
-
|
|
1999
|
-
|
|
2043
|
+
<div class="io-description">
|
|
2044
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2000
2045
|
|
|
2001
|
-
|
|
2046
|
+
</div>
|
|
2002
2047
|
</td>
|
|
2003
2048
|
</tr>
|
|
2004
2049
|
</tbody>
|
|
@@ -2021,49 +2066,47 @@ This can be overridden by passing in a value to the <code>dropUp</code> input.</
|
|
|
2021
2066
|
</tr>
|
|
2022
2067
|
|
|
2023
2068
|
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2069
|
+
<tr>
|
|
2070
|
+
<td class="col-md-4">
|
|
2071
|
+
<div class="io-line">Defined in <a href="" data-line="540"
|
|
2072
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:540</a></div>
|
|
2073
|
+
</td>
|
|
2074
|
+
</tr>
|
|
2030
2075
|
|
|
2031
2076
|
|
|
2032
2077
|
<tr>
|
|
2033
2078
|
<td class="col-md-4">
|
|
2034
2079
|
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
</div>
|
|
2080
|
+
<div class="io-description">
|
|
2081
|
+
<b>Parameters :</b>
|
|
2082
|
+
|
|
2083
|
+
<table class="params">
|
|
2084
|
+
<thead>
|
|
2085
|
+
<tr>
|
|
2086
|
+
<td>Name</td>
|
|
2087
|
+
<td>Optional</td>
|
|
2088
|
+
</tr>
|
|
2089
|
+
</thead>
|
|
2090
|
+
<tbody>
|
|
2091
|
+
<tr>
|
|
2092
|
+
<td>event</td>
|
|
2093
|
+
|
|
2094
|
+
<td>
|
|
2095
|
+
No
|
|
2096
|
+
</td>
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
</tr>
|
|
2100
|
+
</tbody>
|
|
2101
|
+
</table>
|
|
2102
|
+
</div>
|
|
2103
|
+
<div class="io-description">
|
|
2104
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2105
|
+
|
|
2106
|
+
</div>
|
|
2107
|
+
<div class="io-description">
|
|
2108
|
+
|
|
2109
|
+
</div>
|
|
2067
2110
|
</td>
|
|
2068
2111
|
</tr>
|
|
2069
2112
|
</tbody>
|
|
@@ -2086,23 +2129,23 @@ This can be overridden by passing in a value to the <code>dropUp</code> input.</
|
|
|
2086
2129
|
</tr>
|
|
2087
2130
|
|
|
2088
2131
|
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2132
|
+
<tr>
|
|
2133
|
+
<td class="col-md-4">
|
|
2134
|
+
<div class="io-line">Defined in <a href="" data-line="745"
|
|
2135
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:745</a></div>
|
|
2136
|
+
</td>
|
|
2137
|
+
</tr>
|
|
2095
2138
|
|
|
2096
2139
|
|
|
2097
2140
|
<tr>
|
|
2098
2141
|
<td class="col-md-4">
|
|
2099
|
-
|
|
2142
|
+
<div class="io-description"><p>Collapsing the dropdown menu and removing unnecessary <code>EventListeners</code>.</p>
|
|
2100
2143
|
</div>
|
|
2101
2144
|
|
|
2102
|
-
|
|
2103
|
-
|
|
2145
|
+
<div class="io-description">
|
|
2146
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2104
2147
|
|
|
2105
|
-
|
|
2148
|
+
</div>
|
|
2106
2149
|
</td>
|
|
2107
2150
|
</tr>
|
|
2108
2151
|
</tbody>
|
|
@@ -2125,25 +2168,25 @@ This can be overridden by passing in a value to the <code>dropUp</code> input.</
|
|
|
2125
2168
|
</tr>
|
|
2126
2169
|
|
|
2127
2170
|
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2171
|
+
<tr>
|
|
2172
|
+
<td class="col-md-4">
|
|
2173
|
+
<div class="io-line">Defined in <a href="" data-line="559"
|
|
2174
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:559</a></div>
|
|
2175
|
+
</td>
|
|
2176
|
+
</tr>
|
|
2134
2177
|
|
|
2135
2178
|
|
|
2136
2179
|
<tr>
|
|
2137
2180
|
<td class="col-md-4">
|
|
2138
|
-
|
|
2181
|
+
<div class="io-description"><p>Returns the display value if there is a selection and displayValue is set,
|
|
2139
2182
|
if there is just a selection the ListItem content property will be returned,
|
|
2140
2183
|
otherwise the placeholder will be returned.</p>
|
|
2141
2184
|
</div>
|
|
2142
2185
|
|
|
2143
|
-
|
|
2144
|
-
|
|
2186
|
+
<div class="io-description">
|
|
2187
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
2145
2188
|
|
|
2146
|
-
|
|
2189
|
+
</div>
|
|
2147
2190
|
</td>
|
|
2148
2191
|
</tr>
|
|
2149
2192
|
</tbody>
|
|
@@ -2166,21 +2209,21 @@ otherwise the placeholder will be returned.</p>
|
|
|
2166
2209
|
</tr>
|
|
2167
2210
|
|
|
2168
2211
|
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2212
|
+
<tr>
|
|
2213
|
+
<td class="col-md-4">
|
|
2214
|
+
<div class="io-line">Defined in <a href="" data-line="580"
|
|
2215
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:580</a></div>
|
|
2216
|
+
</td>
|
|
2217
|
+
</tr>
|
|
2175
2218
|
|
|
2176
2219
|
|
|
2177
2220
|
<tr>
|
|
2178
2221
|
<td class="col-md-4">
|
|
2179
2222
|
|
|
2180
|
-
|
|
2181
|
-
|
|
2223
|
+
<div class="io-description">
|
|
2224
|
+
<b>Returns : </b> <code>{ items: any; item?: undefined; } | { item: any; items?: undefined; } | { items?: undefined; item?: undefined; }</code>
|
|
2182
2225
|
|
|
2183
|
-
|
|
2226
|
+
</div>
|
|
2184
2227
|
</td>
|
|
2185
2228
|
</tr>
|
|
2186
2229
|
</tbody>
|
|
@@ -2203,21 +2246,21 @@ otherwise the placeholder will be returned.</p>
|
|
|
2203
2246
|
</tr>
|
|
2204
2247
|
|
|
2205
2248
|
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2249
|
+
<tr>
|
|
2250
|
+
<td class="col-md-4">
|
|
2251
|
+
<div class="io-line">Defined in <a href="" data-line="594"
|
|
2252
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:594</a></div>
|
|
2253
|
+
</td>
|
|
2254
|
+
</tr>
|
|
2212
2255
|
|
|
2213
2256
|
|
|
2214
2257
|
<tr>
|
|
2215
2258
|
<td class="col-md-4">
|
|
2216
2259
|
|
|
2217
|
-
|
|
2218
|
-
|
|
2260
|
+
<div class="io-description">
|
|
2261
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
2219
2262
|
|
|
2220
|
-
|
|
2263
|
+
</div>
|
|
2221
2264
|
</td>
|
|
2222
2265
|
</tr>
|
|
2223
2266
|
</tbody>
|
|
@@ -2240,21 +2283,21 @@ otherwise the placeholder will be returned.</p>
|
|
|
2240
2283
|
</tr>
|
|
2241
2284
|
|
|
2242
2285
|
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2286
|
+
<tr>
|
|
2287
|
+
<td class="col-md-4">
|
|
2288
|
+
<div class="io-line">Defined in <a href="" data-line="576"
|
|
2289
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:576</a></div>
|
|
2290
|
+
</td>
|
|
2291
|
+
</tr>
|
|
2249
2292
|
|
|
2250
2293
|
|
|
2251
2294
|
<tr>
|
|
2252
2295
|
<td class="col-md-4">
|
|
2253
2296
|
|
|
2254
|
-
|
|
2255
|
-
|
|
2297
|
+
<div class="io-description">
|
|
2298
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
2256
2299
|
|
|
2257
|
-
|
|
2300
|
+
</div>
|
|
2258
2301
|
</td>
|
|
2259
2302
|
</tr>
|
|
2260
2303
|
</tbody>
|
|
@@ -2265,7 +2308,7 @@ otherwise the placeholder will be returned.</p>
|
|
|
2265
2308
|
<td class="col-md-4">
|
|
2266
2309
|
<a name="isTemplate"></a>
|
|
2267
2310
|
<span class="name">
|
|
2268
|
-
|
|
2311
|
+
<span class="modifier">Public</span>
|
|
2269
2312
|
<span ><b>isTemplate</b></span>
|
|
2270
2313
|
<a href="#isTemplate"><span class="icon ion-ios-link"></span></a>
|
|
2271
2314
|
</span>
|
|
@@ -2273,55 +2316,53 @@ otherwise the placeholder will be returned.</p>
|
|
|
2273
2316
|
</tr>
|
|
2274
2317
|
<tr>
|
|
2275
2318
|
<td class="col-md-4">
|
|
2276
|
-
|
|
2319
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
2277
2320
|
<code>isTemplate(value)</code>
|
|
2278
2321
|
</td>
|
|
2279
2322
|
</tr>
|
|
2280
2323
|
|
|
2281
2324
|
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2325
|
+
<tr>
|
|
2326
|
+
<td class="col-md-4">
|
|
2327
|
+
<div class="io-line">Defined in <a href="" data-line="783"
|
|
2328
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:783</a></div>
|
|
2329
|
+
</td>
|
|
2330
|
+
</tr>
|
|
2288
2331
|
|
|
2289
2332
|
|
|
2290
2333
|
<tr>
|
|
2291
2334
|
<td class="col-md-4">
|
|
2292
2335
|
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
</div>
|
|
2336
|
+
<div class="io-description">
|
|
2337
|
+
<b>Parameters :</b>
|
|
2338
|
+
|
|
2339
|
+
<table class="params">
|
|
2340
|
+
<thead>
|
|
2341
|
+
<tr>
|
|
2342
|
+
<td>Name</td>
|
|
2343
|
+
<td>Optional</td>
|
|
2344
|
+
</tr>
|
|
2345
|
+
</thead>
|
|
2346
|
+
<tbody>
|
|
2347
|
+
<tr>
|
|
2348
|
+
<td>value</td>
|
|
2349
|
+
|
|
2350
|
+
<td>
|
|
2351
|
+
No
|
|
2352
|
+
</td>
|
|
2353
|
+
|
|
2354
|
+
|
|
2355
|
+
</tr>
|
|
2356
|
+
</tbody>
|
|
2357
|
+
</table>
|
|
2358
|
+
</div>
|
|
2359
|
+
<div class="io-description">
|
|
2360
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
2361
|
+
|
|
2362
|
+
</div>
|
|
2363
|
+
<div class="io-description">
|
|
2364
|
+
|
|
2365
|
+
</div>
|
|
2325
2366
|
</td>
|
|
2326
2367
|
</tr>
|
|
2327
2368
|
</tbody>
|
|
@@ -2344,23 +2385,23 @@ otherwise the placeholder will be returned.</p>
|
|
|
2344
2385
|
</tr>
|
|
2345
2386
|
|
|
2346
2387
|
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2388
|
+
<tr>
|
|
2389
|
+
<td class="col-md-4">
|
|
2390
|
+
<div class="io-line">Defined in <a href="" data-line="364"
|
|
2391
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:364</a></div>
|
|
2392
|
+
</td>
|
|
2393
|
+
</tr>
|
|
2353
2394
|
|
|
2354
2395
|
|
|
2355
2396
|
<tr>
|
|
2356
2397
|
<td class="col-md-4">
|
|
2357
|
-
|
|
2398
|
+
<div class="io-description"><p>Initializes classes and subscribes to events for single or multi selection.</p>
|
|
2358
2399
|
</div>
|
|
2359
2400
|
|
|
2360
|
-
|
|
2361
|
-
|
|
2401
|
+
<div class="io-description">
|
|
2402
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2362
2403
|
|
|
2363
|
-
|
|
2404
|
+
</div>
|
|
2364
2405
|
</td>
|
|
2365
2406
|
</tr>
|
|
2366
2407
|
</tbody>
|
|
@@ -2383,21 +2424,21 @@ otherwise the placeholder will be returned.</p>
|
|
|
2383
2424
|
</tr>
|
|
2384
2425
|
|
|
2385
2426
|
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2427
|
+
<tr>
|
|
2428
|
+
<td class="col-md-4">
|
|
2429
|
+
<div class="io-line">Defined in <a href="" data-line="409"
|
|
2430
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:409</a></div>
|
|
2431
|
+
</td>
|
|
2432
|
+
</tr>
|
|
2392
2433
|
|
|
2393
2434
|
|
|
2394
2435
|
<tr>
|
|
2395
2436
|
<td class="col-md-4">
|
|
2396
2437
|
|
|
2397
|
-
|
|
2398
|
-
|
|
2438
|
+
<div class="io-description">
|
|
2439
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2399
2440
|
|
|
2400
|
-
|
|
2441
|
+
</div>
|
|
2401
2442
|
</td>
|
|
2402
2443
|
</tr>
|
|
2403
2444
|
</tbody>
|
|
@@ -2420,23 +2461,23 @@ otherwise the placeholder will be returned.</p>
|
|
|
2420
2461
|
</tr>
|
|
2421
2462
|
|
|
2422
2463
|
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2464
|
+
<tr>
|
|
2465
|
+
<td class="col-md-4">
|
|
2466
|
+
<div class="io-line">Defined in <a href="" data-line="426"
|
|
2467
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:426</a></div>
|
|
2468
|
+
</td>
|
|
2469
|
+
</tr>
|
|
2429
2470
|
|
|
2430
2471
|
|
|
2431
2472
|
<tr>
|
|
2432
2473
|
<td class="col-md-4">
|
|
2433
|
-
|
|
2474
|
+
<div class="io-description"><p>Removing the <code>Dropdown</code> from the body if it is appended to the body.</p>
|
|
2434
2475
|
</div>
|
|
2435
2476
|
|
|
2436
|
-
|
|
2437
|
-
|
|
2477
|
+
<div class="io-description">
|
|
2478
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2438
2479
|
|
|
2439
|
-
|
|
2480
|
+
</div>
|
|
2440
2481
|
</td>
|
|
2441
2482
|
</tr>
|
|
2442
2483
|
</tbody>
|
|
@@ -2459,24 +2500,24 @@ otherwise the placeholder will be returned.</p>
|
|
|
2459
2500
|
</tr>
|
|
2460
2501
|
|
|
2461
2502
|
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2503
|
+
<tr>
|
|
2504
|
+
<td class="col-md-4">
|
|
2505
|
+
<div class="io-line">Defined in <a href="" data-line="355"
|
|
2506
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:355</a></div>
|
|
2507
|
+
</td>
|
|
2508
|
+
</tr>
|
|
2468
2509
|
|
|
2469
2510
|
|
|
2470
2511
|
<tr>
|
|
2471
2512
|
<td class="col-md-4">
|
|
2472
|
-
|
|
2513
|
+
<div class="io-description"><p>Updates the <code>type</code> property in the <code>@ContentChild</code>.
|
|
2473
2514
|
The <code>type</code> property specifies whether the <code>Dropdown</code> allows single selection or multi selection.</p>
|
|
2474
2515
|
</div>
|
|
2475
2516
|
|
|
2476
|
-
|
|
2477
|
-
|
|
2517
|
+
<div class="io-description">
|
|
2518
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2478
2519
|
|
|
2479
|
-
|
|
2520
|
+
</div>
|
|
2480
2521
|
</td>
|
|
2481
2522
|
</tr>
|
|
2482
2523
|
</tbody>
|
|
@@ -2499,21 +2540,21 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2499
2540
|
</tr>
|
|
2500
2541
|
|
|
2501
2542
|
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2543
|
+
<tr>
|
|
2544
|
+
<td class="col-md-4">
|
|
2545
|
+
<div class="io-line">Defined in <a href="" data-line="474"
|
|
2546
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:474</a></div>
|
|
2547
|
+
</td>
|
|
2548
|
+
</tr>
|
|
2508
2549
|
|
|
2509
2550
|
|
|
2510
2551
|
<tr>
|
|
2511
2552
|
<td class="col-md-4">
|
|
2512
2553
|
|
|
2513
|
-
|
|
2514
|
-
|
|
2554
|
+
<div class="io-description">
|
|
2555
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2515
2556
|
|
|
2516
|
-
|
|
2557
|
+
</div>
|
|
2517
2558
|
</td>
|
|
2518
2559
|
</tr>
|
|
2519
2560
|
</tbody>
|
|
@@ -2524,7 +2565,7 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2524
2565
|
<td class="col-md-4">
|
|
2525
2566
|
<a name="onKeyDown"></a>
|
|
2526
2567
|
<span class="name">
|
|
2527
|
-
|
|
2568
|
+
<span class="modifier"></span>
|
|
2528
2569
|
<span ><b>onKeyDown</b></span>
|
|
2529
2570
|
<a href="#onKeyDown"><span class="icon ion-ios-link"></span></a>
|
|
2530
2571
|
</span>
|
|
@@ -2532,7 +2573,7 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2532
2573
|
</tr>
|
|
2533
2574
|
<tr>
|
|
2534
2575
|
<td class="col-md-4">
|
|
2535
|
-
|
|
2576
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
2536
2577
|
<code>onKeyDown(event: KeyboardEvent)</code>
|
|
2537
2578
|
</td>
|
|
2538
2579
|
</tr>
|
|
@@ -2545,55 +2586,53 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2545
2586
|
</td>
|
|
2546
2587
|
</tr>
|
|
2547
2588
|
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2589
|
+
<tr>
|
|
2590
|
+
<td class="col-md-4">
|
|
2591
|
+
<div class="io-line">Defined in <a href="" data-line="509"
|
|
2592
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:509</a></div>
|
|
2593
|
+
</td>
|
|
2594
|
+
</tr>
|
|
2554
2595
|
|
|
2555
2596
|
|
|
2556
2597
|
<tr>
|
|
2557
2598
|
<td class="col-md-4">
|
|
2558
|
-
|
|
2599
|
+
<div class="io-description"><p>Adds keyboard functionality for navigation, selection and closing of the <code>Dropdown</code>.</p>
|
|
2559
2600
|
</div>
|
|
2560
2601
|
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
</div>
|
|
2602
|
+
<div class="io-description">
|
|
2603
|
+
<b>Parameters :</b>
|
|
2604
|
+
|
|
2605
|
+
<table class="params">
|
|
2606
|
+
<thead>
|
|
2607
|
+
<tr>
|
|
2608
|
+
<td>Name</td>
|
|
2609
|
+
<td>Type</td>
|
|
2610
|
+
<td>Optional</td>
|
|
2611
|
+
</tr>
|
|
2612
|
+
</thead>
|
|
2613
|
+
<tbody>
|
|
2614
|
+
<tr>
|
|
2615
|
+
<td>event</td>
|
|
2616
|
+
<td>
|
|
2617
|
+
<code>KeyboardEvent</code>
|
|
2618
|
+
</td>
|
|
2619
|
+
|
|
2620
|
+
<td>
|
|
2621
|
+
No
|
|
2622
|
+
</td>
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
</tr>
|
|
2626
|
+
</tbody>
|
|
2627
|
+
</table>
|
|
2628
|
+
</div>
|
|
2629
|
+
<div class="io-description">
|
|
2630
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2631
|
+
|
|
2632
|
+
</div>
|
|
2633
|
+
<div class="io-description">
|
|
2634
|
+
|
|
2635
|
+
</div>
|
|
2597
2636
|
</td>
|
|
2598
2637
|
</tr>
|
|
2599
2638
|
</tbody>
|
|
@@ -2616,23 +2655,23 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2616
2655
|
</tr>
|
|
2617
2656
|
|
|
2618
2657
|
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2658
|
+
<tr>
|
|
2659
|
+
<td class="col-md-4">
|
|
2660
|
+
<div class="io-line">Defined in <a href="" data-line="701"
|
|
2661
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:701</a></div>
|
|
2662
|
+
</td>
|
|
2663
|
+
</tr>
|
|
2625
2664
|
|
|
2626
2665
|
|
|
2627
2666
|
<tr>
|
|
2628
2667
|
<td class="col-md-4">
|
|
2629
|
-
|
|
2668
|
+
<div class="io-description"><p>Expands the dropdown menu in the view.</p>
|
|
2630
2669
|
</div>
|
|
2631
2670
|
|
|
2632
|
-
|
|
2633
|
-
|
|
2671
|
+
<div class="io-description">
|
|
2672
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2634
2673
|
|
|
2635
|
-
|
|
2674
|
+
</div>
|
|
2636
2675
|
</td>
|
|
2637
2676
|
</tr>
|
|
2638
2677
|
</tbody>
|
|
@@ -2655,53 +2694,51 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2655
2694
|
</tr>
|
|
2656
2695
|
|
|
2657
2696
|
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2697
|
+
<tr>
|
|
2698
|
+
<td class="col-md-4">
|
|
2699
|
+
<div class="io-line">Defined in <a href="" data-line="478"
|
|
2700
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:478</a></div>
|
|
2701
|
+
</td>
|
|
2702
|
+
</tr>
|
|
2664
2703
|
|
|
2665
2704
|
|
|
2666
2705
|
<tr>
|
|
2667
2706
|
<td class="col-md-4">
|
|
2668
2707
|
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
</div>
|
|
2708
|
+
<div class="io-description">
|
|
2709
|
+
<b>Parameters :</b>
|
|
2710
|
+
|
|
2711
|
+
<table class="params">
|
|
2712
|
+
<thead>
|
|
2713
|
+
<tr>
|
|
2714
|
+
<td>Name</td>
|
|
2715
|
+
<td>Type</td>
|
|
2716
|
+
<td>Optional</td>
|
|
2717
|
+
</tr>
|
|
2718
|
+
</thead>
|
|
2719
|
+
<tbody>
|
|
2720
|
+
<tr>
|
|
2721
|
+
<td>fn</td>
|
|
2722
|
+
<td>
|
|
2723
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
2724
|
+
</td>
|
|
2725
|
+
|
|
2726
|
+
<td>
|
|
2727
|
+
No
|
|
2728
|
+
</td>
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
</tr>
|
|
2732
|
+
</tbody>
|
|
2733
|
+
</table>
|
|
2734
|
+
</div>
|
|
2735
|
+
<div class="io-description">
|
|
2736
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2737
|
+
|
|
2738
|
+
</div>
|
|
2739
|
+
<div class="io-description">
|
|
2740
|
+
|
|
2741
|
+
</div>
|
|
2705
2742
|
</td>
|
|
2706
2743
|
</tr>
|
|
2707
2744
|
</tbody>
|
|
@@ -2724,55 +2761,53 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2724
2761
|
</tr>
|
|
2725
2762
|
|
|
2726
2763
|
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2764
|
+
<tr>
|
|
2765
|
+
<td class="col-md-4">
|
|
2766
|
+
<div class="io-line">Defined in <a href="" data-line="485"
|
|
2767
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:485</a></div>
|
|
2768
|
+
</td>
|
|
2769
|
+
</tr>
|
|
2733
2770
|
|
|
2734
2771
|
|
|
2735
2772
|
<tr>
|
|
2736
2773
|
<td class="col-md-4">
|
|
2737
|
-
|
|
2774
|
+
<div class="io-description"><p>Registering the function injected to control the touch use of the <code>Dropdown</code>.</p>
|
|
2738
2775
|
</div>
|
|
2739
2776
|
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
</div>
|
|
2777
|
+
<div class="io-description">
|
|
2778
|
+
<b>Parameters :</b>
|
|
2779
|
+
|
|
2780
|
+
<table class="params">
|
|
2781
|
+
<thead>
|
|
2782
|
+
<tr>
|
|
2783
|
+
<td>Name</td>
|
|
2784
|
+
<td>Type</td>
|
|
2785
|
+
<td>Optional</td>
|
|
2786
|
+
</tr>
|
|
2787
|
+
</thead>
|
|
2788
|
+
<tbody>
|
|
2789
|
+
<tr>
|
|
2790
|
+
<td>fn</td>
|
|
2791
|
+
<td>
|
|
2792
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
2793
|
+
</td>
|
|
2794
|
+
|
|
2795
|
+
<td>
|
|
2796
|
+
No
|
|
2797
|
+
</td>
|
|
2798
|
+
|
|
2799
|
+
|
|
2800
|
+
</tr>
|
|
2801
|
+
</tbody>
|
|
2802
|
+
</table>
|
|
2803
|
+
</div>
|
|
2804
|
+
<div class="io-description">
|
|
2805
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2806
|
+
|
|
2807
|
+
</div>
|
|
2808
|
+
<div class="io-description">
|
|
2809
|
+
|
|
2810
|
+
</div>
|
|
2776
2811
|
</td>
|
|
2777
2812
|
</tr>
|
|
2778
2813
|
</tbody>
|
|
@@ -2795,61 +2830,59 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2795
2830
|
</tr>
|
|
2796
2831
|
|
|
2797
2832
|
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2833
|
+
<tr>
|
|
2834
|
+
<td class="col-md-4">
|
|
2835
|
+
<div class="io-line">Defined in <a href="" data-line="501"
|
|
2836
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:501</a></div>
|
|
2837
|
+
</td>
|
|
2838
|
+
</tr>
|
|
2804
2839
|
|
|
2805
2840
|
|
|
2806
2841
|
<tr>
|
|
2807
2842
|
<td class="col-md-4">
|
|
2808
|
-
|
|
2843
|
+
<div class="io-description"><p><code>ControlValueAccessor</code> method to programmatically disable the dropdown.</p>
|
|
2809
2844
|
<p>ex: <code>this.formGroup.get("myDropdown").disable();</code></p>
|
|
2810
2845
|
</div>
|
|
2811
2846
|
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
</div>
|
|
2847
|
+
<div class="io-description">
|
|
2848
|
+
<b>Parameters :</b>
|
|
2849
|
+
|
|
2850
|
+
<table class="params">
|
|
2851
|
+
<thead>
|
|
2852
|
+
<tr>
|
|
2853
|
+
<td>Name</td>
|
|
2854
|
+
<td>Type</td>
|
|
2855
|
+
<td>Optional</td>
|
|
2856
|
+
<td>Description</td>
|
|
2857
|
+
</tr>
|
|
2858
|
+
</thead>
|
|
2859
|
+
<tbody>
|
|
2860
|
+
<tr>
|
|
2861
|
+
<td>isDisabled</td>
|
|
2862
|
+
<td>
|
|
2863
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
2864
|
+
</td>
|
|
2865
|
+
|
|
2866
|
+
<td>
|
|
2867
|
+
No
|
|
2868
|
+
</td>
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
<td>
|
|
2872
|
+
<p><code>true</code> to disable the input</p>
|
|
2873
|
+
|
|
2874
|
+
</td>
|
|
2875
|
+
</tr>
|
|
2876
|
+
</tbody>
|
|
2877
|
+
</table>
|
|
2878
|
+
</div>
|
|
2879
|
+
<div class="io-description">
|
|
2880
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2881
|
+
|
|
2882
|
+
</div>
|
|
2883
|
+
<div class="io-description">
|
|
2884
|
+
|
|
2885
|
+
</div>
|
|
2853
2886
|
</td>
|
|
2854
2887
|
</tr>
|
|
2855
2888
|
</tbody>
|
|
@@ -2872,23 +2905,23 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2872
2905
|
</tr>
|
|
2873
2906
|
|
|
2874
2907
|
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2908
|
+
<tr>
|
|
2909
|
+
<td class="col-md-4">
|
|
2910
|
+
<div class="io-line">Defined in <a href="" data-line="775"
|
|
2911
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:775</a></div>
|
|
2912
|
+
</td>
|
|
2913
|
+
</tr>
|
|
2881
2914
|
|
|
2882
2915
|
|
|
2883
2916
|
<tr>
|
|
2884
2917
|
<td class="col-md-4">
|
|
2885
|
-
|
|
2918
|
+
<div class="io-description"><p>Controls toggling menu states between open/expanded and closed/collapsed.</p>
|
|
2886
2919
|
</div>
|
|
2887
2920
|
|
|
2888
|
-
|
|
2889
|
-
|
|
2921
|
+
<div class="io-description">
|
|
2922
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2890
2923
|
|
|
2891
|
-
|
|
2924
|
+
</div>
|
|
2892
2925
|
</td>
|
|
2893
2926
|
</tr>
|
|
2894
2927
|
</tbody>
|
|
@@ -2911,23 +2944,23 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2911
2944
|
</tr>
|
|
2912
2945
|
|
|
2913
2946
|
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2947
|
+
<tr>
|
|
2948
|
+
<td class="col-md-4">
|
|
2949
|
+
<div class="io-line">Defined in <a href="" data-line="614"
|
|
2950
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:614</a></div>
|
|
2951
|
+
</td>
|
|
2952
|
+
</tr>
|
|
2920
2953
|
|
|
2921
2954
|
|
|
2922
2955
|
<tr>
|
|
2923
2956
|
<td class="col-md-4">
|
|
2924
|
-
|
|
2957
|
+
<div class="io-description"><p>Returns <code>true</code> if there is a value selected.</p>
|
|
2925
2958
|
</div>
|
|
2926
2959
|
|
|
2927
|
-
|
|
2928
|
-
|
|
2960
|
+
<div class="io-description">
|
|
2961
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
2929
2962
|
|
|
2930
|
-
|
|
2963
|
+
</div>
|
|
2931
2964
|
</td>
|
|
2932
2965
|
</tr>
|
|
2933
2966
|
</tbody>
|
|
@@ -2950,55 +2983,53 @@ The <code>type</code> property specifies whether the <code>Dropdown</code> allow
|
|
|
2950
2983
|
</tr>
|
|
2951
2984
|
|
|
2952
2985
|
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2986
|
+
<tr>
|
|
2987
|
+
<td class="col-md-4">
|
|
2988
|
+
<div class="io-line">Defined in <a href="" data-line="435"
|
|
2989
|
+
class="link-to-prism">src/dropdown/dropdown.component.ts:435</a></div>
|
|
2990
|
+
</td>
|
|
2991
|
+
</tr>
|
|
2959
2992
|
|
|
2960
2993
|
|
|
2961
2994
|
<tr>
|
|
2962
2995
|
<td class="col-md-4">
|
|
2963
|
-
|
|
2996
|
+
<div class="io-description"><p>Propagates the injected <code>value</code>.</p>
|
|
2964
2997
|
</div>
|
|
2965
2998
|
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
</div>
|
|
2999
|
+
<div class="io-description">
|
|
3000
|
+
<b>Parameters :</b>
|
|
3001
|
+
|
|
3002
|
+
<table class="params">
|
|
3003
|
+
<thead>
|
|
3004
|
+
<tr>
|
|
3005
|
+
<td>Name</td>
|
|
3006
|
+
<td>Type</td>
|
|
3007
|
+
<td>Optional</td>
|
|
3008
|
+
</tr>
|
|
3009
|
+
</thead>
|
|
3010
|
+
<tbody>
|
|
3011
|
+
<tr>
|
|
3012
|
+
<td>value</td>
|
|
3013
|
+
<td>
|
|
3014
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
3015
|
+
</td>
|
|
3016
|
+
|
|
3017
|
+
<td>
|
|
3018
|
+
No
|
|
3019
|
+
</td>
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
</tr>
|
|
3023
|
+
</tbody>
|
|
3024
|
+
</table>
|
|
3025
|
+
</div>
|
|
3026
|
+
<div class="io-description">
|
|
3027
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
3028
|
+
|
|
3029
|
+
</div>
|
|
3030
|
+
<div class="io-description">
|
|
3031
|
+
|
|
3032
|
+
</div>
|
|
3002
3033
|
</td>
|
|
3003
3034
|
</tr>
|
|
3004
3035
|
</tbody>
|
|
@@ -4432,6 +4463,19 @@ export class Dropdown implements OnInit, AfterContentInit, AfterViewInit, OnDest
|
|
|
4432
4463
|
var MAX_SEARCH_RESULTS = 15;
|
|
4433
4464
|
</script>
|
|
4434
4465
|
|
|
4466
|
+
<script>
|
|
4467
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
4468
|
+
checkToggle(darkModeState);
|
|
4469
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
4470
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
4471
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
4472
|
+
darkModeState = !darkModeState;
|
|
4473
|
+
toggleDarkMode(darkModeState);
|
|
4474
|
+
});
|
|
4475
|
+
}
|
|
4476
|
+
}
|
|
4477
|
+
</script>
|
|
4478
|
+
|
|
4435
4479
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
4436
4480
|
<script src="../js/libs/lit-html.js"></script>
|
|
4437
4481
|
|