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 -->
|
|
@@ -423,45 +474,43 @@ explicitly defined.</p>
|
|
|
423
474
|
</tr>
|
|
424
475
|
|
|
425
476
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
477
|
+
<tr>
|
|
478
|
+
<td class="col-md-4">
|
|
479
|
+
<div class="io-line">Defined in <a href="" data-line="229"
|
|
480
|
+
class="link-to-prism">src/dialog/dialog.component.ts:229</a></div>
|
|
481
|
+
</td>
|
|
482
|
+
</tr>
|
|
432
483
|
|
|
433
484
|
|
|
434
485
|
<tr>
|
|
435
486
|
<td class="col-md-4">
|
|
436
|
-
|
|
487
|
+
<div class="io-description"><p>Sets up a event Listener to close <code>Dialog</code> if click event occurs outside
|
|
437
488
|
<code>Dialog</code> object.</p>
|
|
438
489
|
</div>
|
|
439
490
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
<div>
|
|
464
|
-
</div>
|
|
491
|
+
<div class="io-description">
|
|
492
|
+
<b>Parameters :</b>
|
|
493
|
+
|
|
494
|
+
<table class="params">
|
|
495
|
+
<thead>
|
|
496
|
+
<tr>
|
|
497
|
+
<td>Name</td>
|
|
498
|
+
<td>Optional</td>
|
|
499
|
+
</tr>
|
|
500
|
+
</thead>
|
|
501
|
+
<tbody>
|
|
502
|
+
<tr>
|
|
503
|
+
<td>event</td>
|
|
504
|
+
|
|
505
|
+
<td>
|
|
506
|
+
No
|
|
507
|
+
</td>
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
</tr>
|
|
511
|
+
</tbody>
|
|
512
|
+
</table>
|
|
513
|
+
</div>
|
|
465
514
|
</td>
|
|
466
515
|
</tr>
|
|
467
516
|
</tbody>
|
|
@@ -489,44 +538,42 @@ explicitly defined.</p>
|
|
|
489
538
|
</tr>
|
|
490
539
|
|
|
491
540
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
541
|
+
<tr>
|
|
542
|
+
<td class="col-md-4">
|
|
543
|
+
<div class="io-line">Defined in <a href="" data-line="206"
|
|
544
|
+
class="link-to-prism">src/dialog/dialog.component.ts:206</a></div>
|
|
545
|
+
</td>
|
|
546
|
+
</tr>
|
|
498
547
|
|
|
499
548
|
|
|
500
549
|
<tr>
|
|
501
550
|
<td class="col-md-4">
|
|
502
|
-
|
|
551
|
+
<div class="io-description"><p>Sets up a KeyboardEvent to close <code>Dialog</code> with Escape key.</p>
|
|
503
552
|
</div>
|
|
504
553
|
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
<div>
|
|
529
|
-
</div>
|
|
554
|
+
<div class="io-description">
|
|
555
|
+
<b>Parameters :</b>
|
|
556
|
+
|
|
557
|
+
<table class="params">
|
|
558
|
+
<thead>
|
|
559
|
+
<tr>
|
|
560
|
+
<td>Name</td>
|
|
561
|
+
<td>Optional</td>
|
|
562
|
+
</tr>
|
|
563
|
+
</thead>
|
|
564
|
+
<tbody>
|
|
565
|
+
<tr>
|
|
566
|
+
<td>event</td>
|
|
567
|
+
|
|
568
|
+
<td>
|
|
569
|
+
No
|
|
570
|
+
</td>
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
</tr>
|
|
574
|
+
</tbody>
|
|
575
|
+
</table>
|
|
576
|
+
</div>
|
|
530
577
|
</td>
|
|
531
578
|
</tr>
|
|
532
579
|
</tbody>
|
|
@@ -555,24 +602,24 @@ explicitly defined.</p>
|
|
|
555
602
|
</tr>
|
|
556
603
|
|
|
557
604
|
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
605
|
+
<tr>
|
|
606
|
+
<td class="col-md-4">
|
|
607
|
+
<div class="io-line">Defined in <a href="" data-line="157"
|
|
608
|
+
class="link-to-prism">src/dialog/dialog.component.ts:157</a></div>
|
|
609
|
+
</td>
|
|
610
|
+
</tr>
|
|
564
611
|
|
|
565
612
|
|
|
566
613
|
<tr>
|
|
567
614
|
<td class="col-md-4">
|
|
568
|
-
|
|
615
|
+
<div class="io-description"><p>Empty method to be overridden by consuming classes to run any additional initialization code after the view is available.
|
|
569
616
|
NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply that it will exist in the DOM</p>
|
|
570
617
|
</div>
|
|
571
618
|
|
|
572
|
-
|
|
573
|
-
|
|
619
|
+
<div class="io-description">
|
|
620
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
574
621
|
|
|
575
|
-
|
|
622
|
+
</div>
|
|
576
623
|
</td>
|
|
577
624
|
</tr>
|
|
578
625
|
</tbody>
|
|
@@ -583,7 +630,7 @@ NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply tha
|
|
|
583
630
|
<td class="col-md-4">
|
|
584
631
|
<a name="clickClose"></a>
|
|
585
632
|
<span class="name">
|
|
586
|
-
|
|
633
|
+
<span class="modifier"></span>
|
|
587
634
|
<span ><b>clickClose</b></span>
|
|
588
635
|
<a href="#clickClose"><span class="icon ion-ios-link"></span></a>
|
|
589
636
|
</span>
|
|
@@ -591,7 +638,7 @@ NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply tha
|
|
|
591
638
|
</tr>
|
|
592
639
|
<tr>
|
|
593
640
|
<td class="col-md-4">
|
|
594
|
-
|
|
641
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
595
642
|
<code>clickClose(event)</code>
|
|
596
643
|
</td>
|
|
597
644
|
</tr>
|
|
@@ -604,52 +651,50 @@ NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply tha
|
|
|
604
651
|
</td>
|
|
605
652
|
</tr>
|
|
606
653
|
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
654
|
+
<tr>
|
|
655
|
+
<td class="col-md-4">
|
|
656
|
+
<div class="io-line">Defined in <a href="" data-line="229"
|
|
657
|
+
class="link-to-prism">src/dialog/dialog.component.ts:229</a></div>
|
|
658
|
+
</td>
|
|
659
|
+
</tr>
|
|
613
660
|
|
|
614
661
|
|
|
615
662
|
<tr>
|
|
616
663
|
<td class="col-md-4">
|
|
617
|
-
|
|
664
|
+
<div class="io-description"><p>Sets up a event Listener to close <code>Dialog</code> if click event occurs outside
|
|
618
665
|
<code>Dialog</code> object.</p>
|
|
619
666
|
</div>
|
|
620
667
|
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
</div>
|
|
668
|
+
<div class="io-description">
|
|
669
|
+
<b>Parameters :</b>
|
|
670
|
+
|
|
671
|
+
<table class="params">
|
|
672
|
+
<thead>
|
|
673
|
+
<tr>
|
|
674
|
+
<td>Name</td>
|
|
675
|
+
<td>Optional</td>
|
|
676
|
+
</tr>
|
|
677
|
+
</thead>
|
|
678
|
+
<tbody>
|
|
679
|
+
<tr>
|
|
680
|
+
<td>event</td>
|
|
681
|
+
|
|
682
|
+
<td>
|
|
683
|
+
No
|
|
684
|
+
</td>
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
</tr>
|
|
688
|
+
</tbody>
|
|
689
|
+
</table>
|
|
690
|
+
</div>
|
|
691
|
+
<div class="io-description">
|
|
692
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
693
|
+
|
|
694
|
+
</div>
|
|
695
|
+
<div class="io-description">
|
|
696
|
+
|
|
697
|
+
</div>
|
|
653
698
|
</td>
|
|
654
699
|
</tr>
|
|
655
700
|
</tbody>
|
|
@@ -660,7 +705,7 @@ NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply tha
|
|
|
660
705
|
<td class="col-md-4">
|
|
661
706
|
<a name="doClose"></a>
|
|
662
707
|
<span class="name">
|
|
663
|
-
|
|
708
|
+
<span class="modifier">Public</span>
|
|
664
709
|
<span ><b>doClose</b></span>
|
|
665
710
|
<a href="#doClose"><span class="icon ion-ios-link"></span></a>
|
|
666
711
|
</span>
|
|
@@ -668,65 +713,63 @@ NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply tha
|
|
|
668
713
|
</tr>
|
|
669
714
|
<tr>
|
|
670
715
|
<td class="col-md-4">
|
|
671
|
-
|
|
716
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
672
717
|
<code>doClose(meta: <a href="../interfaces/CloseMeta.html" target="_self">CloseMeta</a>)</code>
|
|
673
718
|
</td>
|
|
674
719
|
</tr>
|
|
675
720
|
|
|
676
721
|
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
722
|
+
<tr>
|
|
723
|
+
<td class="col-md-4">
|
|
724
|
+
<div class="io-line">Defined in <a href="" data-line="242"
|
|
725
|
+
class="link-to-prism">src/dialog/dialog.component.ts:242</a></div>
|
|
726
|
+
</td>
|
|
727
|
+
</tr>
|
|
683
728
|
|
|
684
729
|
|
|
685
730
|
<tr>
|
|
686
731
|
<td class="col-md-4">
|
|
687
|
-
|
|
732
|
+
<div class="io-description"><p>Closes <code>Dialog</code> object by emitting the close event upwards to parents.</p>
|
|
688
733
|
</div>
|
|
689
734
|
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
</div>
|
|
735
|
+
<div class="io-description">
|
|
736
|
+
<b>Parameters :</b>
|
|
737
|
+
|
|
738
|
+
<table class="params">
|
|
739
|
+
<thead>
|
|
740
|
+
<tr>
|
|
741
|
+
<td>Name</td>
|
|
742
|
+
<td>Type</td>
|
|
743
|
+
<td>Optional</td>
|
|
744
|
+
<td>Default value</td>
|
|
745
|
+
</tr>
|
|
746
|
+
</thead>
|
|
747
|
+
<tbody>
|
|
748
|
+
<tr>
|
|
749
|
+
<td>meta</td>
|
|
750
|
+
<td>
|
|
751
|
+
<code><a href="../interfaces/CloseMeta.html" target="_self" >CloseMeta</a></code>
|
|
752
|
+
</td>
|
|
753
|
+
|
|
754
|
+
<td>
|
|
755
|
+
No
|
|
756
|
+
</td>
|
|
757
|
+
|
|
758
|
+
<td>
|
|
759
|
+
<code>{ reason: CloseReasons.interaction }</code>
|
|
760
|
+
</td>
|
|
761
|
+
|
|
762
|
+
</tr>
|
|
763
|
+
</tbody>
|
|
764
|
+
</table>
|
|
765
|
+
</div>
|
|
766
|
+
<div class="io-description">
|
|
767
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
768
|
+
|
|
769
|
+
</div>
|
|
770
|
+
<div class="io-description">
|
|
771
|
+
|
|
772
|
+
</div>
|
|
730
773
|
</td>
|
|
731
774
|
</tr>
|
|
732
775
|
</tbody>
|
|
@@ -737,7 +780,7 @@ NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply tha
|
|
|
737
780
|
<td class="col-md-4">
|
|
738
781
|
<a name="escapeClose"></a>
|
|
739
782
|
<span class="name">
|
|
740
|
-
|
|
783
|
+
<span class="modifier"></span>
|
|
741
784
|
<span ><b>escapeClose</b></span>
|
|
742
785
|
<a href="#escapeClose"><span class="icon ion-ios-link"></span></a>
|
|
743
786
|
</span>
|
|
@@ -745,7 +788,7 @@ NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply tha
|
|
|
745
788
|
</tr>
|
|
746
789
|
<tr>
|
|
747
790
|
<td class="col-md-4">
|
|
748
|
-
|
|
791
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
749
792
|
<code>escapeClose(event: KeyboardEvent)</code>
|
|
750
793
|
</td>
|
|
751
794
|
</tr>
|
|
@@ -758,55 +801,53 @@ NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply tha
|
|
|
758
801
|
</td>
|
|
759
802
|
</tr>
|
|
760
803
|
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
804
|
+
<tr>
|
|
805
|
+
<td class="col-md-4">
|
|
806
|
+
<div class="io-line">Defined in <a href="" data-line="206"
|
|
807
|
+
class="link-to-prism">src/dialog/dialog.component.ts:206</a></div>
|
|
808
|
+
</td>
|
|
809
|
+
</tr>
|
|
767
810
|
|
|
768
811
|
|
|
769
812
|
<tr>
|
|
770
813
|
<td class="col-md-4">
|
|
771
|
-
|
|
814
|
+
<div class="io-description"><p>Sets up a KeyboardEvent to close <code>Dialog</code> with Escape key.</p>
|
|
772
815
|
</div>
|
|
773
816
|
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
</div>
|
|
817
|
+
<div class="io-description">
|
|
818
|
+
<b>Parameters :</b>
|
|
819
|
+
|
|
820
|
+
<table class="params">
|
|
821
|
+
<thead>
|
|
822
|
+
<tr>
|
|
823
|
+
<td>Name</td>
|
|
824
|
+
<td>Type</td>
|
|
825
|
+
<td>Optional</td>
|
|
826
|
+
</tr>
|
|
827
|
+
</thead>
|
|
828
|
+
<tbody>
|
|
829
|
+
<tr>
|
|
830
|
+
<td>event</td>
|
|
831
|
+
<td>
|
|
832
|
+
<code>KeyboardEvent</code>
|
|
833
|
+
</td>
|
|
834
|
+
|
|
835
|
+
<td>
|
|
836
|
+
No
|
|
837
|
+
</td>
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
</tr>
|
|
841
|
+
</tbody>
|
|
842
|
+
</table>
|
|
843
|
+
</div>
|
|
844
|
+
<div class="io-description">
|
|
845
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
846
|
+
|
|
847
|
+
</div>
|
|
848
|
+
<div class="io-description">
|
|
849
|
+
|
|
850
|
+
</div>
|
|
810
851
|
</td>
|
|
811
852
|
</tr>
|
|
812
853
|
</tbody>
|
|
@@ -829,24 +870,24 @@ NOTE: this does <em>not</em> guarantee the dialog will be positioned, simply tha
|
|
|
829
870
|
</tr>
|
|
830
871
|
|
|
831
872
|
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
873
|
+
<tr>
|
|
874
|
+
<td class="col-md-4">
|
|
875
|
+
<div class="io-line">Defined in <a href="" data-line="105"
|
|
876
|
+
class="link-to-prism">src/dialog/dialog.component.ts:105</a></div>
|
|
877
|
+
</td>
|
|
878
|
+
</tr>
|
|
838
879
|
|
|
839
880
|
|
|
840
881
|
<tr>
|
|
841
882
|
<td class="col-md-4">
|
|
842
|
-
|
|
883
|
+
<div class="io-description"><p>After the DOM is ready, focus is set and dialog is placed
|
|
843
884
|
in respect to the parent element.</p>
|
|
844
885
|
</div>
|
|
845
886
|
|
|
846
|
-
|
|
847
|
-
|
|
887
|
+
<div class="io-description">
|
|
888
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
848
889
|
|
|
849
|
-
|
|
890
|
+
</div>
|
|
850
891
|
</td>
|
|
851
892
|
</tr>
|
|
852
893
|
</tbody>
|
|
@@ -869,23 +910,23 @@ in respect to the parent element.</p>
|
|
|
869
910
|
</tr>
|
|
870
911
|
|
|
871
912
|
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
913
|
+
<tr>
|
|
914
|
+
<td class="col-md-4">
|
|
915
|
+
<div class="io-line">Defined in <a href="" data-line="249"
|
|
916
|
+
class="link-to-prism">src/dialog/dialog.component.ts:249</a></div>
|
|
917
|
+
</td>
|
|
918
|
+
</tr>
|
|
878
919
|
|
|
879
920
|
|
|
880
921
|
<tr>
|
|
881
922
|
<td class="col-md-4">
|
|
882
|
-
|
|
923
|
+
<div class="io-description"><p>At destruction of component, <code>Dialog</code> unsubscribes from all the subscriptions.</p>
|
|
883
924
|
</div>
|
|
884
925
|
|
|
885
|
-
|
|
886
|
-
|
|
926
|
+
<div class="io-description">
|
|
927
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
887
928
|
|
|
888
|
-
|
|
929
|
+
</div>
|
|
889
930
|
</td>
|
|
890
931
|
</tr>
|
|
891
932
|
</tbody>
|
|
@@ -908,23 +949,23 @@ in respect to the parent element.</p>
|
|
|
908
949
|
</tr>
|
|
909
950
|
|
|
910
951
|
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
952
|
+
<tr>
|
|
953
|
+
<td class="col-md-4">
|
|
954
|
+
<div class="io-line">Defined in <a href="" data-line="93"
|
|
955
|
+
class="link-to-prism">src/dialog/dialog.component.ts:93</a></div>
|
|
956
|
+
</td>
|
|
957
|
+
</tr>
|
|
917
958
|
|
|
918
959
|
|
|
919
960
|
<tr>
|
|
920
961
|
<td class="col-md-4">
|
|
921
|
-
|
|
962
|
+
<div class="io-description"><p>Initialize the <code>Dialog</code>, set the placement and gap, and add a <code>Subscription</code> to resize events.</p>
|
|
922
963
|
</div>
|
|
923
964
|
|
|
924
|
-
|
|
925
|
-
|
|
965
|
+
<div class="io-description">
|
|
966
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
926
967
|
|
|
927
|
-
|
|
968
|
+
</div>
|
|
928
969
|
</td>
|
|
929
970
|
</tr>
|
|
930
971
|
</tbody>
|
|
@@ -947,23 +988,23 @@ in respect to the parent element.</p>
|
|
|
947
988
|
</tr>
|
|
948
989
|
|
|
949
990
|
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
991
|
+
<tr>
|
|
992
|
+
<td class="col-md-4">
|
|
993
|
+
<div class="io-line">Defined in <a href="" data-line="151"
|
|
994
|
+
class="link-to-prism">src/dialog/dialog.component.ts:151</a></div>
|
|
995
|
+
</td>
|
|
996
|
+
</tr>
|
|
956
997
|
|
|
957
998
|
|
|
958
999
|
<tr>
|
|
959
1000
|
<td class="col-md-4">
|
|
960
|
-
|
|
1001
|
+
<div class="io-description"><p>Empty method to be overridden by consuming classes to run any additional initialization code.</p>
|
|
961
1002
|
</div>
|
|
962
1003
|
|
|
963
|
-
|
|
964
|
-
|
|
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>
|
|
965
1006
|
|
|
966
|
-
|
|
1007
|
+
</div>
|
|
967
1008
|
</td>
|
|
968
1009
|
</tr>
|
|
969
1010
|
</tbody>
|
|
@@ -986,23 +1027,23 @@ in respect to the parent element.</p>
|
|
|
986
1027
|
</tr>
|
|
987
1028
|
|
|
988
1029
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1030
|
+
<tr>
|
|
1031
|
+
<td class="col-md-4">
|
|
1032
|
+
<div class="io-line">Defined in <a href="" data-line="162"
|
|
1033
|
+
class="link-to-prism">src/dialog/dialog.component.ts:162</a></div>
|
|
1034
|
+
</td>
|
|
1035
|
+
</tr>
|
|
995
1036
|
|
|
996
1037
|
|
|
997
1038
|
<tr>
|
|
998
1039
|
<td class="col-md-4">
|
|
999
|
-
|
|
1040
|
+
<div class="io-description"><p>Uses the position service to position the <code>Dialog</code> in screen space</p>
|
|
1000
1041
|
</div>
|
|
1001
1042
|
|
|
1002
|
-
|
|
1003
|
-
|
|
1043
|
+
<div class="io-description">
|
|
1044
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1004
1045
|
|
|
1005
|
-
|
|
1046
|
+
</div>
|
|
1006
1047
|
</td>
|
|
1007
1048
|
</tr>
|
|
1008
1049
|
</tbody>
|
|
@@ -1606,6 +1647,19 @@ export class Dialog implements OnInit, AfterViewInit, OnDestroy {
|
|
|
1606
1647
|
var MAX_SEARCH_RESULTS = 15;
|
|
1607
1648
|
</script>
|
|
1608
1649
|
|
|
1650
|
+
<script>
|
|
1651
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1652
|
+
checkToggle(darkModeState);
|
|
1653
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
1654
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
1655
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
1656
|
+
darkModeState = !darkModeState;
|
|
1657
|
+
toggleDarkMode(darkModeState);
|
|
1658
|
+
});
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
</script>
|
|
1662
|
+
|
|
1609
1663
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
1610
1664
|
<script src="../js/libs/lit-html.js"></script>
|
|
1611
1665
|
|