carbon-components-angular 5.26.1 → 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 +149 -89
- 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.html +69 -5
- package/docs/documentation/modules/ComboBoxModule.html +69 -5
- package/docs/documentation/modules/ContainedListModule.html +69 -5
- package/docs/documentation/modules/ContentSwitcherModule.html +69 -5
- package/docs/documentation/modules/ContextMenuModule.html +69 -5
- package/docs/documentation/modules/DatePickerInputModule.html +69 -5
- package/docs/documentation/modules/DatePickerModule.html +69 -5
- 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.html +69 -5
- 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.html +69 -5
- package/docs/documentation/modules/PaginationModule.html +69 -5
- package/docs/documentation/modules/PanelModule.html +69 -5
- 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.html +69 -5
- package/docs/documentation/modules/SearchModule.html +69 -5
- package/docs/documentation/modules/SelectModule.html +69 -5
- package/docs/documentation/modules/SideNavModule.html +69 -5
- package/docs/documentation/modules/SkeletonModule.html +69 -5
- package/docs/documentation/modules/SliderModule.html +69 -5
- 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.html +69 -5
- package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ThemeModule.html +73 -9
- package/docs/documentation/modules/TilesModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TilesModule.html +73 -9
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +17 -17
- package/docs/documentation/modules/TimePickerModule.html +86 -22
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerSelectModule.html +73 -9
- package/docs/documentation/modules/ToggleModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggleModule.html +73 -9
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +37 -37
- package/docs/documentation/modules/ToggletipModule.html +106 -42
- package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TooltipModule.html +73 -9
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +34 -34
- package/docs/documentation/modules/TreeviewModule.html +103 -39
- package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
- package/docs/documentation/modules/UIShellModule.html +73 -9
- 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 +2067 -1757
- 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.b589439b.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/fesm2015/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2015/carbon-components-angular-tabs.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2020/carbon-components-angular-tabs.mjs.map +1 -1
- package/package.json +1 -1
- package/tabs/tab.component.d.ts +10 -1
- package/docs/storybook/main.5c20d10a.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 -->
|
|
@@ -355,58 +406,56 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
355
406
|
</tr>
|
|
356
407
|
|
|
357
408
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
409
|
+
<tr>
|
|
410
|
+
<td class="col-md-4">
|
|
411
|
+
<div class="io-line">Defined in <a href="" data-line="99"
|
|
412
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:99</a></div>
|
|
413
|
+
</td>
|
|
414
|
+
</tr>
|
|
364
415
|
|
|
365
416
|
|
|
366
417
|
<tr>
|
|
367
418
|
<td class="col-md-4">
|
|
368
419
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
</div>
|
|
420
|
+
<div class="io-description">
|
|
421
|
+
<b>Parameters :</b>
|
|
422
|
+
|
|
423
|
+
<table class="params">
|
|
424
|
+
<thead>
|
|
425
|
+
<tr>
|
|
426
|
+
<td>Name</td>
|
|
427
|
+
<td>Type</td>
|
|
428
|
+
<td>Optional</td>
|
|
429
|
+
<td>Description</td>
|
|
430
|
+
</tr>
|
|
431
|
+
</thead>
|
|
432
|
+
<tbody>
|
|
433
|
+
<tr>
|
|
434
|
+
<td>value</td>
|
|
435
|
+
<td>
|
|
436
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
437
|
+
</td>
|
|
438
|
+
|
|
439
|
+
<td>
|
|
440
|
+
No
|
|
441
|
+
</td>
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
<td>
|
|
445
|
+
<p>value to filter the list by</p>
|
|
446
|
+
|
|
447
|
+
</td>
|
|
448
|
+
</tr>
|
|
449
|
+
</tbody>
|
|
450
|
+
</table>
|
|
451
|
+
</div>
|
|
452
|
+
<div class="io-description">
|
|
453
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
454
|
+
|
|
455
|
+
</div>
|
|
456
|
+
<div class="io-description">
|
|
457
|
+
|
|
458
|
+
</div>
|
|
410
459
|
</td>
|
|
411
460
|
</tr>
|
|
412
461
|
</tbody>
|
|
@@ -429,23 +478,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
429
478
|
</tr>
|
|
430
479
|
|
|
431
480
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
481
|
+
<tr>
|
|
482
|
+
<td class="col-md-4">
|
|
483
|
+
<div class="io-line">Defined in <a href="" data-line="86"
|
|
484
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:86</a></div>
|
|
485
|
+
</td>
|
|
486
|
+
</tr>
|
|
438
487
|
|
|
439
488
|
|
|
440
489
|
<tr>
|
|
441
490
|
<td class="col-md-4">
|
|
442
|
-
|
|
491
|
+
<div class="io-description"><p>Returns the <code>HTMLElement</code> for the item that is selected within the <code>DropdownList</code>.</p>
|
|
443
492
|
</div>
|
|
444
493
|
|
|
445
|
-
|
|
446
|
-
|
|
494
|
+
<div class="io-description">
|
|
495
|
+
<b>Returns : </b> <code>HTMLElement</code>
|
|
447
496
|
|
|
448
|
-
|
|
497
|
+
</div>
|
|
449
498
|
</td>
|
|
450
499
|
</tr>
|
|
451
500
|
</tbody>
|
|
@@ -468,23 +517,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
468
517
|
</tr>
|
|
469
518
|
|
|
470
519
|
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
520
|
+
<tr>
|
|
521
|
+
<td class="col-md-4">
|
|
522
|
+
<div class="io-line">Defined in <a href="" data-line="82"
|
|
523
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:82</a></div>
|
|
524
|
+
</td>
|
|
525
|
+
</tr>
|
|
477
526
|
|
|
478
527
|
|
|
479
528
|
<tr>
|
|
480
529
|
<td class="col-md-4">
|
|
481
|
-
|
|
530
|
+
<div class="io-description"><p>Returns the <code>ListItem</code> that is selected within <code>DropdownList</code>.</p>
|
|
482
531
|
</div>
|
|
483
532
|
|
|
484
|
-
|
|
485
|
-
|
|
533
|
+
<div class="io-description">
|
|
534
|
+
<b>Returns : </b> <code><a href="../interfaces/ListItem.html" target="_self" >ListItem</a></code>
|
|
486
535
|
|
|
487
|
-
|
|
536
|
+
</div>
|
|
488
537
|
</td>
|
|
489
538
|
</tr>
|
|
490
539
|
</tbody>
|
|
@@ -507,23 +556,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
507
556
|
</tr>
|
|
508
557
|
|
|
509
558
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
559
|
+
<tr>
|
|
560
|
+
<td class="col-md-4">
|
|
561
|
+
<div class="io-line">Defined in <a href="" data-line="90"
|
|
562
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:90</a></div>
|
|
563
|
+
</td>
|
|
564
|
+
</tr>
|
|
516
565
|
|
|
517
566
|
|
|
518
567
|
<tr>
|
|
519
568
|
<td class="col-md-4">
|
|
520
|
-
|
|
569
|
+
<div class="io-description"><p>Guaranteed to return the current items as an Array.</p>
|
|
521
570
|
</div>
|
|
522
571
|
|
|
523
|
-
|
|
524
|
-
|
|
572
|
+
<div class="io-description">
|
|
573
|
+
<b>Returns : </b> <code><a href="../interfaces/ListItem.html" target="_self" >Array<ListItem></a></code>
|
|
525
574
|
|
|
526
|
-
|
|
575
|
+
</div>
|
|
527
576
|
</td>
|
|
528
577
|
</tr>
|
|
529
578
|
</tbody>
|
|
@@ -546,23 +595,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
546
595
|
</tr>
|
|
547
596
|
|
|
548
597
|
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
598
|
+
<tr>
|
|
599
|
+
<td class="col-md-4">
|
|
600
|
+
<div class="io-line">Defined in <a href="" data-line="62"
|
|
601
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:62</a></div>
|
|
602
|
+
</td>
|
|
603
|
+
</tr>
|
|
555
604
|
|
|
556
605
|
|
|
557
606
|
<tr>
|
|
558
607
|
<td class="col-md-4">
|
|
559
|
-
|
|
608
|
+
<div class="io-description"><p>Returns the <code>HTMLElement</code> for the item that is subsequent to the selected item.</p>
|
|
560
609
|
</div>
|
|
561
610
|
|
|
562
|
-
|
|
563
|
-
|
|
611
|
+
<div class="io-description">
|
|
612
|
+
<b>Returns : </b> <code>HTMLElement</code>
|
|
564
613
|
|
|
565
|
-
|
|
614
|
+
</div>
|
|
566
615
|
</td>
|
|
567
616
|
</tr>
|
|
568
617
|
</tbody>
|
|
@@ -585,23 +634,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
585
634
|
</tr>
|
|
586
635
|
|
|
587
636
|
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
637
|
+
<tr>
|
|
638
|
+
<td class="col-md-4">
|
|
639
|
+
<div class="io-line">Defined in <a href="" data-line="54"
|
|
640
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:54</a></div>
|
|
641
|
+
</td>
|
|
642
|
+
</tr>
|
|
594
643
|
|
|
595
644
|
|
|
596
645
|
<tr>
|
|
597
646
|
<td class="col-md-4">
|
|
598
|
-
|
|
647
|
+
<div class="io-description"><p>Returns the <code>ListItem</code> that is subsequent to the selected item in the <code>DropdownList</code>.</p>
|
|
599
648
|
</div>
|
|
600
649
|
|
|
601
|
-
|
|
602
|
-
|
|
650
|
+
<div class="io-description">
|
|
651
|
+
<b>Returns : </b> <code><a href="../interfaces/ListItem.html" target="_self" >ListItem</a></code>
|
|
603
652
|
|
|
604
|
-
|
|
653
|
+
</div>
|
|
605
654
|
</td>
|
|
606
655
|
</tr>
|
|
607
656
|
</tbody>
|
|
@@ -624,23 +673,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
624
673
|
</tr>
|
|
625
674
|
|
|
626
675
|
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
676
|
+
<tr>
|
|
677
|
+
<td class="col-md-4">
|
|
678
|
+
<div class="io-line">Defined in <a href="" data-line="74"
|
|
679
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:74</a></div>
|
|
680
|
+
</td>
|
|
681
|
+
</tr>
|
|
633
682
|
|
|
634
683
|
|
|
635
684
|
<tr>
|
|
636
685
|
<td class="col-md-4">
|
|
637
|
-
|
|
686
|
+
<div class="io-description"><p>Returns the <code>HTMLElement</code> for the item that precedes the selected item.</p>
|
|
638
687
|
</div>
|
|
639
688
|
|
|
640
|
-
|
|
641
|
-
|
|
689
|
+
<div class="io-description">
|
|
690
|
+
<b>Returns : </b> <code>HTMLElement</code>
|
|
642
691
|
|
|
643
|
-
|
|
692
|
+
</div>
|
|
644
693
|
</td>
|
|
645
694
|
</tr>
|
|
646
695
|
</tbody>
|
|
@@ -663,23 +712,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
663
712
|
</tr>
|
|
664
713
|
|
|
665
714
|
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
715
|
+
<tr>
|
|
716
|
+
<td class="col-md-4">
|
|
717
|
+
<div class="io-line">Defined in <a href="" data-line="66"
|
|
718
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:66</a></div>
|
|
719
|
+
</td>
|
|
720
|
+
</tr>
|
|
672
721
|
|
|
673
722
|
|
|
674
723
|
<tr>
|
|
675
724
|
<td class="col-md-4">
|
|
676
|
-
|
|
725
|
+
<div class="io-description"><p>Returns the <code>ListItem</code> that precedes the selected item within <code>DropdownList</code>.</p>
|
|
677
726
|
</div>
|
|
678
727
|
|
|
679
|
-
|
|
680
|
-
|
|
728
|
+
<div class="io-description">
|
|
729
|
+
<b>Returns : </b> <code><a href="../interfaces/ListItem.html" target="_self" >ListItem</a></code>
|
|
681
730
|
|
|
682
|
-
|
|
731
|
+
</div>
|
|
683
732
|
</td>
|
|
684
733
|
</tr>
|
|
685
734
|
</tbody>
|
|
@@ -702,23 +751,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
702
751
|
</tr>
|
|
703
752
|
|
|
704
753
|
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
754
|
+
<tr>
|
|
755
|
+
<td class="col-md-4">
|
|
756
|
+
<div class="io-line">Defined in <a href="" data-line="78"
|
|
757
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:78</a></div>
|
|
758
|
+
</td>
|
|
759
|
+
</tr>
|
|
711
760
|
|
|
712
761
|
|
|
713
762
|
<tr>
|
|
714
763
|
<td class="col-md-4">
|
|
715
|
-
|
|
764
|
+
<div class="io-description"><p>Returns the selected leaf level item(s) within the <code>DropdownList</code>.</p>
|
|
716
765
|
</div>
|
|
717
766
|
|
|
718
|
-
|
|
719
|
-
|
|
767
|
+
<div class="io-description">
|
|
768
|
+
<b>Returns : </b> <code><a href="../interfaces/ListItem.html" target="_self" >ListItem[]</a></code>
|
|
720
769
|
|
|
721
|
-
|
|
770
|
+
</div>
|
|
722
771
|
</td>
|
|
723
772
|
</tr>
|
|
724
773
|
</tbody>
|
|
@@ -741,23 +790,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
741
790
|
</tr>
|
|
742
791
|
|
|
743
792
|
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
793
|
+
<tr>
|
|
794
|
+
<td class="col-md-4">
|
|
795
|
+
<div class="io-line">Defined in <a href="" data-line="58"
|
|
796
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:58</a></div>
|
|
797
|
+
</td>
|
|
798
|
+
</tr>
|
|
750
799
|
|
|
751
800
|
|
|
752
801
|
<tr>
|
|
753
802
|
<td class="col-md-4">
|
|
754
|
-
|
|
803
|
+
<div class="io-description"><p>Returns a boolean if the currently selected item is preceded by another</p>
|
|
755
804
|
</div>
|
|
756
805
|
|
|
757
|
-
|
|
758
|
-
|
|
806
|
+
<div class="io-description">
|
|
807
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
759
808
|
|
|
760
|
-
|
|
809
|
+
</div>
|
|
761
810
|
</td>
|
|
762
811
|
</tr>
|
|
763
812
|
</tbody>
|
|
@@ -780,23 +829,23 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
780
829
|
</tr>
|
|
781
830
|
|
|
782
831
|
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
832
|
+
<tr>
|
|
833
|
+
<td class="col-md-4">
|
|
834
|
+
<div class="io-line">Defined in <a href="" data-line="70"
|
|
835
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:70</a></div>
|
|
836
|
+
</td>
|
|
837
|
+
</tr>
|
|
789
838
|
|
|
790
839
|
|
|
791
840
|
<tr>
|
|
792
841
|
<td class="col-md-4">
|
|
793
|
-
|
|
842
|
+
<div class="io-description"><p>Returns a boolean if the currently selected item is followed by another</p>
|
|
794
843
|
</div>
|
|
795
844
|
|
|
796
|
-
|
|
797
|
-
|
|
845
|
+
<div class="io-description">
|
|
846
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
798
847
|
|
|
799
|
-
|
|
848
|
+
</div>
|
|
800
849
|
</td>
|
|
801
850
|
</tr>
|
|
802
851
|
</tbody>
|
|
@@ -819,24 +868,24 @@ ex. <code>@Output() blurIntent = new EventEmitter<"top" | "bot
|
|
|
819
868
|
</tr>
|
|
820
869
|
|
|
821
870
|
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
871
|
+
<tr>
|
|
872
|
+
<td class="col-md-4">
|
|
873
|
+
<div class="io-line">Defined in <a href="" data-line="104"
|
|
874
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:104</a></div>
|
|
875
|
+
</td>
|
|
876
|
+
</tr>
|
|
828
877
|
|
|
829
878
|
|
|
830
879
|
<tr>
|
|
831
880
|
<td class="col-md-4">
|
|
832
|
-
|
|
881
|
+
<div class="io-description"><p>Initializes focus in the list
|
|
833
882
|
In most cases this just calls <code>getCurrentElement().focus()</code></p>
|
|
834
883
|
</div>
|
|
835
884
|
|
|
836
|
-
|
|
837
|
-
|
|
885
|
+
<div class="io-description">
|
|
886
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
838
887
|
|
|
839
|
-
|
|
888
|
+
</div>
|
|
840
889
|
</td>
|
|
841
890
|
</tr>
|
|
842
891
|
</tbody>
|
|
@@ -859,55 +908,53 @@ In most cases this just calls <code>getCurrentElement().focus()</code></p>
|
|
|
859
908
|
</tr>
|
|
860
909
|
|
|
861
910
|
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
911
|
+
<tr>
|
|
912
|
+
<td class="col-md-4">
|
|
913
|
+
<div class="io-line">Defined in <a href="" data-line="108"
|
|
914
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:108</a></div>
|
|
915
|
+
</td>
|
|
916
|
+
</tr>
|
|
868
917
|
|
|
869
918
|
|
|
870
919
|
<tr>
|
|
871
920
|
<td class="col-md-4">
|
|
872
|
-
|
|
921
|
+
<div class="io-description"><p>Subscribe the function passed to an internal observable that will resolve once the items are ready</p>
|
|
873
922
|
</div>
|
|
874
923
|
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
</div>
|
|
924
|
+
<div class="io-description">
|
|
925
|
+
<b>Parameters :</b>
|
|
926
|
+
|
|
927
|
+
<table class="params">
|
|
928
|
+
<thead>
|
|
929
|
+
<tr>
|
|
930
|
+
<td>Name</td>
|
|
931
|
+
<td>Type</td>
|
|
932
|
+
<td>Optional</td>
|
|
933
|
+
</tr>
|
|
934
|
+
</thead>
|
|
935
|
+
<tbody>
|
|
936
|
+
<tr>
|
|
937
|
+
<td>subcription</td>
|
|
938
|
+
<td>
|
|
939
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
|
|
940
|
+
</td>
|
|
941
|
+
|
|
942
|
+
<td>
|
|
943
|
+
No
|
|
944
|
+
</td>
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
</tr>
|
|
948
|
+
</tbody>
|
|
949
|
+
</table>
|
|
950
|
+
</div>
|
|
951
|
+
<div class="io-description">
|
|
952
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
953
|
+
|
|
954
|
+
</div>
|
|
955
|
+
<div class="io-description">
|
|
956
|
+
|
|
957
|
+
</div>
|
|
911
958
|
</td>
|
|
912
959
|
</tr>
|
|
913
960
|
</tbody>
|
|
@@ -930,55 +977,53 @@ In most cases this just calls <code>getCurrentElement().focus()</code></p>
|
|
|
930
977
|
</tr>
|
|
931
978
|
|
|
932
979
|
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
980
|
+
<tr>
|
|
981
|
+
<td class="col-md-4">
|
|
982
|
+
<div class="io-line">Defined in <a href="" data-line="94"
|
|
983
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:94</a></div>
|
|
984
|
+
</td>
|
|
985
|
+
</tr>
|
|
939
986
|
|
|
940
987
|
|
|
941
988
|
<tr>
|
|
942
989
|
<td class="col-md-4">
|
|
943
|
-
|
|
990
|
+
<div class="io-description"><p>Transforms array input list of items to the correct state by updating the selected item(s).</p>
|
|
944
991
|
</div>
|
|
945
992
|
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
</div>
|
|
993
|
+
<div class="io-description">
|
|
994
|
+
<b>Parameters :</b>
|
|
995
|
+
|
|
996
|
+
<table class="params">
|
|
997
|
+
<thead>
|
|
998
|
+
<tr>
|
|
999
|
+
<td>Name</td>
|
|
1000
|
+
<td>Type</td>
|
|
1001
|
+
<td>Optional</td>
|
|
1002
|
+
</tr>
|
|
1003
|
+
</thead>
|
|
1004
|
+
<tbody>
|
|
1005
|
+
<tr>
|
|
1006
|
+
<td>value</td>
|
|
1007
|
+
<td>
|
|
1008
|
+
<code><a href="../interfaces/ListItem.html" target="_self" >Array<ListItem></a></code>
|
|
1009
|
+
</td>
|
|
1010
|
+
|
|
1011
|
+
<td>
|
|
1012
|
+
No
|
|
1013
|
+
</td>
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
</tr>
|
|
1017
|
+
</tbody>
|
|
1018
|
+
</table>
|
|
1019
|
+
</div>
|
|
1020
|
+
<div class="io-description">
|
|
1021
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1022
|
+
|
|
1023
|
+
</div>
|
|
1024
|
+
<div class="io-description">
|
|
1025
|
+
|
|
1026
|
+
</div>
|
|
982
1027
|
</td>
|
|
983
1028
|
</tr>
|
|
984
1029
|
</tbody>
|
|
@@ -1001,55 +1046,53 @@ In most cases this just calls <code>getCurrentElement().focus()</code></p>
|
|
|
1001
1046
|
</tr>
|
|
1002
1047
|
|
|
1003
1048
|
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1049
|
+
<tr>
|
|
1050
|
+
<td class="col-md-4">
|
|
1051
|
+
<div class="io-line">Defined in <a href="" data-line="112"
|
|
1052
|
+
class="link-to-prism">src/dropdown/abstract-dropdown-view.class.ts:112</a></div>
|
|
1053
|
+
</td>
|
|
1054
|
+
</tr>
|
|
1010
1055
|
|
|
1011
1056
|
|
|
1012
1057
|
<tr>
|
|
1013
1058
|
<td class="col-md-4">
|
|
1014
|
-
|
|
1059
|
+
<div class="io-description"><p>Reorder selected items bringing them to the top of the list</p>
|
|
1015
1060
|
</div>
|
|
1016
1061
|
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
</div>
|
|
1062
|
+
<div class="io-description">
|
|
1063
|
+
<b>Parameters :</b>
|
|
1064
|
+
|
|
1065
|
+
<table class="params">
|
|
1066
|
+
<thead>
|
|
1067
|
+
<tr>
|
|
1068
|
+
<td>Name</td>
|
|
1069
|
+
<td>Type</td>
|
|
1070
|
+
<td>Optional</td>
|
|
1071
|
+
</tr>
|
|
1072
|
+
</thead>
|
|
1073
|
+
<tbody>
|
|
1074
|
+
<tr>
|
|
1075
|
+
<td>moveFocus</td>
|
|
1076
|
+
<td>
|
|
1077
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1078
|
+
</td>
|
|
1079
|
+
|
|
1080
|
+
<td>
|
|
1081
|
+
Yes
|
|
1082
|
+
</td>
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
</tr>
|
|
1086
|
+
</tbody>
|
|
1087
|
+
</table>
|
|
1088
|
+
</div>
|
|
1089
|
+
<div class="io-description">
|
|
1090
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1091
|
+
|
|
1092
|
+
</div>
|
|
1093
|
+
<div class="io-description">
|
|
1094
|
+
|
|
1095
|
+
</div>
|
|
1053
1096
|
</td>
|
|
1054
1097
|
</tr>
|
|
1055
1098
|
</tbody>
|
|
@@ -1409,6 +1452,19 @@ export class AbstractDropdownView {
|
|
|
1409
1452
|
var MAX_SEARCH_RESULTS = 15;
|
|
1410
1453
|
</script>
|
|
1411
1454
|
|
|
1455
|
+
<script>
|
|
1456
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1457
|
+
checkToggle(darkModeState);
|
|
1458
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
1459
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
1460
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
1461
|
+
darkModeState = !darkModeState;
|
|
1462
|
+
toggleDarkMode(darkModeState);
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
</script>
|
|
1467
|
+
|
|
1412
1468
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
1413
1469
|
<script src="../js/libs/lit-html.js"></script>
|
|
1414
1470
|
|