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 -->
|
|
@@ -83,7 +134,7 @@
|
|
|
83
134
|
<li><a href="https://www.w3.org/TR/wai-aria-practices/#grid">https://www.w3.org/TR/wai-aria-practices/#grid</a></li>
|
|
84
135
|
</ul>
|
|
85
136
|
<p>Example usage (taken from <code>table.component</code>):</p>
|
|
86
|
-
<div><pre class="line-numbers"><code class="language-typescript">// a standard HTML table
|
|
137
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">// a standard HTML table
|
|
87
138
|
const table = this.elementRef.nativeElement.querySelector("table") as HTMLTableElement;
|
|
88
139
|
|
|
89
140
|
// `TableDomAdapter` implements `TableAdapter` and provides a consistent interface to query rows and columns in a table
|
|
@@ -505,50 +556,48 @@ Table.focus(currentElement);
|
|
|
505
556
|
</tr>
|
|
506
557
|
|
|
507
558
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
559
|
+
<tr>
|
|
560
|
+
<td class="col-md-4">
|
|
561
|
+
<div class="io-line">Defined in <a href="" data-line="234"
|
|
562
|
+
class="link-to-prism">src/table/data-grid-interaction-model.class.ts:234</a></div>
|
|
563
|
+
</td>
|
|
564
|
+
</tr>
|
|
514
565
|
|
|
515
566
|
|
|
516
567
|
<tr>
|
|
517
568
|
<td class="col-md-4">
|
|
518
|
-
|
|
569
|
+
<div class="io-description"><p>Jump to the specified row and column</p>
|
|
519
570
|
</div>
|
|
520
571
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
</div>
|
|
572
|
+
<div class="io-description">
|
|
573
|
+
<b>Parameters :</b>
|
|
574
|
+
|
|
575
|
+
<table class="params">
|
|
576
|
+
<thead>
|
|
577
|
+
<tr>
|
|
578
|
+
<td>Name</td>
|
|
579
|
+
<td>Optional</td>
|
|
580
|
+
</tr>
|
|
581
|
+
</thead>
|
|
582
|
+
<tbody>
|
|
583
|
+
<tr>
|
|
584
|
+
|
|
585
|
+
<td>
|
|
586
|
+
No
|
|
587
|
+
</td>
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
</tr>
|
|
591
|
+
</tbody>
|
|
592
|
+
</table>
|
|
593
|
+
</div>
|
|
594
|
+
<div class="io-description">
|
|
595
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
596
|
+
|
|
597
|
+
</div>
|
|
598
|
+
<div class="io-description">
|
|
599
|
+
|
|
600
|
+
</div>
|
|
552
601
|
</td>
|
|
553
602
|
</tr>
|
|
554
603
|
</tbody>
|
|
@@ -571,60 +620,58 @@ Table.focus(currentElement);
|
|
|
571
620
|
</tr>
|
|
572
621
|
|
|
573
622
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
623
|
+
<tr>
|
|
624
|
+
<td class="col-md-4">
|
|
625
|
+
<div class="io-line">Defined in <a href="" data-line="214"
|
|
626
|
+
class="link-to-prism">src/table/data-grid-interaction-model.class.ts:214</a></div>
|
|
627
|
+
</td>
|
|
628
|
+
</tr>
|
|
580
629
|
|
|
581
630
|
|
|
582
631
|
<tr>
|
|
583
632
|
<td class="col-md-4">
|
|
584
|
-
|
|
633
|
+
<div class="io-description"><p>Jump to a specific column without changing the row</p>
|
|
585
634
|
</div>
|
|
586
635
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
</div>
|
|
636
|
+
<div class="io-description">
|
|
637
|
+
<b>Parameters :</b>
|
|
638
|
+
|
|
639
|
+
<table class="params">
|
|
640
|
+
<thead>
|
|
641
|
+
<tr>
|
|
642
|
+
<td>Name</td>
|
|
643
|
+
<td>Type</td>
|
|
644
|
+
<td>Optional</td>
|
|
645
|
+
<td>Description</td>
|
|
646
|
+
</tr>
|
|
647
|
+
</thead>
|
|
648
|
+
<tbody>
|
|
649
|
+
<tr>
|
|
650
|
+
<td>index</td>
|
|
651
|
+
<td>
|
|
652
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
653
|
+
</td>
|
|
654
|
+
|
|
655
|
+
<td>
|
|
656
|
+
No
|
|
657
|
+
</td>
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
<td>
|
|
661
|
+
<p>column to jump to</p>
|
|
662
|
+
|
|
663
|
+
</td>
|
|
664
|
+
</tr>
|
|
665
|
+
</tbody>
|
|
666
|
+
</table>
|
|
667
|
+
</div>
|
|
668
|
+
<div class="io-description">
|
|
669
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
670
|
+
|
|
671
|
+
</div>
|
|
672
|
+
<div class="io-description">
|
|
673
|
+
|
|
674
|
+
</div>
|
|
628
675
|
</td>
|
|
629
676
|
</tr>
|
|
630
677
|
</tbody>
|
|
@@ -647,60 +694,58 @@ Table.focus(currentElement);
|
|
|
647
694
|
</tr>
|
|
648
695
|
|
|
649
696
|
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
697
|
+
<tr>
|
|
698
|
+
<td class="col-md-4">
|
|
699
|
+
<div class="io-line">Defined in <a href="" data-line="224"
|
|
700
|
+
class="link-to-prism">src/table/data-grid-interaction-model.class.ts:224</a></div>
|
|
701
|
+
</td>
|
|
702
|
+
</tr>
|
|
656
703
|
|
|
657
704
|
|
|
658
705
|
<tr>
|
|
659
706
|
<td class="col-md-4">
|
|
660
|
-
|
|
707
|
+
<div class="io-description"><p>Jump to a specific row without changing the column</p>
|
|
661
708
|
</div>
|
|
662
709
|
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
</div>
|
|
710
|
+
<div class="io-description">
|
|
711
|
+
<b>Parameters :</b>
|
|
712
|
+
|
|
713
|
+
<table class="params">
|
|
714
|
+
<thead>
|
|
715
|
+
<tr>
|
|
716
|
+
<td>Name</td>
|
|
717
|
+
<td>Type</td>
|
|
718
|
+
<td>Optional</td>
|
|
719
|
+
<td>Description</td>
|
|
720
|
+
</tr>
|
|
721
|
+
</thead>
|
|
722
|
+
<tbody>
|
|
723
|
+
<tr>
|
|
724
|
+
<td>index</td>
|
|
725
|
+
<td>
|
|
726
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
727
|
+
</td>
|
|
728
|
+
|
|
729
|
+
<td>
|
|
730
|
+
No
|
|
731
|
+
</td>
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
<td>
|
|
735
|
+
<p>row to jump to</p>
|
|
736
|
+
|
|
737
|
+
</td>
|
|
738
|
+
</tr>
|
|
739
|
+
</tbody>
|
|
740
|
+
</table>
|
|
741
|
+
</div>
|
|
742
|
+
<div class="io-description">
|
|
743
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
744
|
+
|
|
745
|
+
</div>
|
|
746
|
+
<div class="io-description">
|
|
747
|
+
|
|
748
|
+
</div>
|
|
704
749
|
</td>
|
|
705
750
|
</tr>
|
|
706
751
|
</tbody>
|
|
@@ -723,60 +768,58 @@ Table.focus(currentElement);
|
|
|
723
768
|
</tr>
|
|
724
769
|
|
|
725
770
|
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
771
|
+
<tr>
|
|
772
|
+
<td class="col-md-4">
|
|
773
|
+
<div class="io-line">Defined in <a href="" data-line="203"
|
|
774
|
+
class="link-to-prism">src/table/data-grid-interaction-model.class.ts:203</a></div>
|
|
775
|
+
</td>
|
|
776
|
+
</tr>
|
|
732
777
|
|
|
733
778
|
|
|
734
779
|
<tr>
|
|
735
780
|
<td class="col-md-4">
|
|
736
|
-
|
|
781
|
+
<div class="io-description"><p>Handles moving the position to the clicked cell</p>
|
|
737
782
|
</div>
|
|
738
783
|
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
</div>
|
|
784
|
+
<div class="io-description">
|
|
785
|
+
<b>Parameters :</b>
|
|
786
|
+
|
|
787
|
+
<table class="params">
|
|
788
|
+
<thead>
|
|
789
|
+
<tr>
|
|
790
|
+
<td>Name</td>
|
|
791
|
+
<td>Type</td>
|
|
792
|
+
<td>Optional</td>
|
|
793
|
+
<td>Description</td>
|
|
794
|
+
</tr>
|
|
795
|
+
</thead>
|
|
796
|
+
<tbody>
|
|
797
|
+
<tr>
|
|
798
|
+
<td>event</td>
|
|
799
|
+
<td>
|
|
800
|
+
<code>MouseEvent</code>
|
|
801
|
+
</td>
|
|
802
|
+
|
|
803
|
+
<td>
|
|
804
|
+
No
|
|
805
|
+
</td>
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
<td>
|
|
809
|
+
<p>the MouseEvent to handle</p>
|
|
810
|
+
|
|
811
|
+
</td>
|
|
812
|
+
</tr>
|
|
813
|
+
</tbody>
|
|
814
|
+
</table>
|
|
815
|
+
</div>
|
|
816
|
+
<div class="io-description">
|
|
817
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
818
|
+
|
|
819
|
+
</div>
|
|
820
|
+
<div class="io-description">
|
|
821
|
+
|
|
822
|
+
</div>
|
|
780
823
|
</td>
|
|
781
824
|
</tr>
|
|
782
825
|
</tbody>
|
|
@@ -799,17 +842,17 @@ Table.focus(currentElement);
|
|
|
799
842
|
</tr>
|
|
800
843
|
|
|
801
844
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
845
|
+
<tr>
|
|
846
|
+
<td class="col-md-4">
|
|
847
|
+
<div class="io-line">Defined in <a href="" data-line="152"
|
|
848
|
+
class="link-to-prism">src/table/data-grid-interaction-model.class.ts:152</a></div>
|
|
849
|
+
</td>
|
|
850
|
+
</tr>
|
|
808
851
|
|
|
809
852
|
|
|
810
853
|
<tr>
|
|
811
854
|
<td class="col-md-4">
|
|
812
|
-
|
|
855
|
+
<div class="io-description"><p>Handles moving the position according to the w3 datagrid navigation specs</p>
|
|
813
856
|
<p>Refs:</p>
|
|
814
857
|
<ul>
|
|
815
858
|
<li><a href="https://www.w3.org/TR/wai-aria-practices/examples/grid/dataGrids.html">https://www.w3.org/TR/wai-aria-practices/examples/grid/dataGrids.html</a></li>
|
|
@@ -817,47 +860,45 @@ Table.focus(currentElement);
|
|
|
817
860
|
</ul>
|
|
818
861
|
</div>
|
|
819
862
|
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
</div>
|
|
863
|
+
<div class="io-description">
|
|
864
|
+
<b>Parameters :</b>
|
|
865
|
+
|
|
866
|
+
<table class="params">
|
|
867
|
+
<thead>
|
|
868
|
+
<tr>
|
|
869
|
+
<td>Name</td>
|
|
870
|
+
<td>Type</td>
|
|
871
|
+
<td>Optional</td>
|
|
872
|
+
<td>Description</td>
|
|
873
|
+
</tr>
|
|
874
|
+
</thead>
|
|
875
|
+
<tbody>
|
|
876
|
+
<tr>
|
|
877
|
+
<td>event</td>
|
|
878
|
+
<td>
|
|
879
|
+
<code>KeyboardEvent</code>
|
|
880
|
+
</td>
|
|
881
|
+
|
|
882
|
+
<td>
|
|
883
|
+
No
|
|
884
|
+
</td>
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
<td>
|
|
888
|
+
<p>the KeyboardEvent to handle</p>
|
|
889
|
+
|
|
890
|
+
</td>
|
|
891
|
+
</tr>
|
|
892
|
+
</tbody>
|
|
893
|
+
</table>
|
|
894
|
+
</div>
|
|
895
|
+
<div class="io-description">
|
|
896
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
897
|
+
|
|
898
|
+
</div>
|
|
899
|
+
<div class="io-description">
|
|
900
|
+
|
|
901
|
+
</div>
|
|
861
902
|
</td>
|
|
862
903
|
</tr>
|
|
863
904
|
</tbody>
|
|
@@ -880,23 +921,23 @@ Table.focus(currentElement);
|
|
|
880
921
|
</tr>
|
|
881
922
|
|
|
882
923
|
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
924
|
+
<tr>
|
|
925
|
+
<td class="col-md-4">
|
|
926
|
+
<div class="io-line">Defined in <a href="" data-line="259"
|
|
927
|
+
class="link-to-prism">src/table/data-grid-interaction-model.class.ts:259</a></div>
|
|
928
|
+
</td>
|
|
929
|
+
</tr>
|
|
889
930
|
|
|
890
931
|
|
|
891
932
|
<tr>
|
|
892
933
|
<td class="col-md-4">
|
|
893
|
-
|
|
934
|
+
<div class="io-description"><p>Resets the models focus position</p>
|
|
894
935
|
</div>
|
|
895
936
|
|
|
896
|
-
|
|
897
|
-
|
|
937
|
+
<div class="io-description">
|
|
938
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
898
939
|
|
|
899
|
-
|
|
940
|
+
</div>
|
|
900
941
|
</td>
|
|
901
942
|
</tr>
|
|
902
943
|
</tbody>
|
|
@@ -919,56 +960,54 @@ Table.focus(currentElement);
|
|
|
919
960
|
</tr>
|
|
920
961
|
|
|
921
962
|
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
963
|
+
<tr>
|
|
964
|
+
<td class="col-md-4">
|
|
965
|
+
<div class="io-line">Defined in <a href="" data-line="243"
|
|
966
|
+
class="link-to-prism">src/table/data-grid-interaction-model.class.ts:243</a></div>
|
|
967
|
+
</td>
|
|
968
|
+
</tr>
|
|
928
969
|
|
|
929
970
|
|
|
930
971
|
<tr>
|
|
931
972
|
<td class="col-md-4">
|
|
932
|
-
|
|
973
|
+
<div class="io-description"><p>Convenience method to reset the tab indexes on a standard carbon table.
|
|
933
974
|
For custom tables you may want to reset the indexes manually and simply call <code>.reset()</code></p>
|
|
934
975
|
</div>
|
|
935
976
|
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
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
|
-
</div>
|
|
977
|
+
<div class="io-description">
|
|
978
|
+
<b>Parameters :</b>
|
|
979
|
+
|
|
980
|
+
<table class="params">
|
|
981
|
+
<thead>
|
|
982
|
+
<tr>
|
|
983
|
+
<td>Name</td>
|
|
984
|
+
<td>Optional</td>
|
|
985
|
+
<td>Default value</td>
|
|
986
|
+
</tr>
|
|
987
|
+
</thead>
|
|
988
|
+
<tbody>
|
|
989
|
+
<tr>
|
|
990
|
+
<td>newTabIndex</td>
|
|
991
|
+
|
|
992
|
+
<td>
|
|
993
|
+
No
|
|
994
|
+
</td>
|
|
995
|
+
|
|
996
|
+
<td>
|
|
997
|
+
<code>-1</code>
|
|
998
|
+
</td>
|
|
999
|
+
|
|
1000
|
+
</tr>
|
|
1001
|
+
</tbody>
|
|
1002
|
+
</table>
|
|
1003
|
+
</div>
|
|
1004
|
+
<div class="io-description">
|
|
1005
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1006
|
+
|
|
1007
|
+
</div>
|
|
1008
|
+
<div class="io-description">
|
|
1009
|
+
|
|
1010
|
+
</div>
|
|
972
1011
|
</td>
|
|
973
1012
|
</tr>
|
|
974
1013
|
</tbody>
|
|
@@ -1409,6 +1448,19 @@ export class DataGridInteractionModel {
|
|
|
1409
1448
|
var MAX_SEARCH_RESULTS = 15;
|
|
1410
1449
|
</script>
|
|
1411
1450
|
|
|
1451
|
+
<script>
|
|
1452
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1453
|
+
checkToggle(darkModeState);
|
|
1454
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
1455
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
1456
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
1457
|
+
darkModeState = !darkModeState;
|
|
1458
|
+
toggleDarkMode(darkModeState);
|
|
1459
|
+
});
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
</script>
|
|
1463
|
+
|
|
1412
1464
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
1413
1465
|
<script src="../js/libs/lit-html.js"></script>
|
|
1414
1466
|
|