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 -->
|
|
@@ -70,7 +121,7 @@
|
|
|
70
121
|
</p>
|
|
71
122
|
<p class="comment">
|
|
72
123
|
<p>Get started with importing the module:</p>
|
|
73
|
-
<div><pre class="line-numbers"><code class="language-typescript">import { ToggleModule } from 'carbon-components-angular';</code></pre></div><div><pre class="line-numbers"><code class="language-html"><cds-toggle [(ngModel)]="toggleState">Toggle</cds-toggle></code></pre></div><p><a href="../../?path=/story/components-toggle--basic">See demo</a></p>
|
|
124
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { ToggleModule } from 'carbon-components-angular';</code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-html"><cds-toggle [(ngModel)]="toggleState">Toggle</cds-toggle></code></pre></div><p><a href="../../?path=/story/components-toggle--basic">See demo</a></p>
|
|
74
125
|
|
|
75
126
|
</p>
|
|
76
127
|
|
|
@@ -78,7 +129,7 @@
|
|
|
78
129
|
<h3>Extends</h3>
|
|
79
130
|
</p>
|
|
80
131
|
<p class="comment">
|
|
81
|
-
|
|
132
|
+
<code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
82
133
|
</p>
|
|
83
134
|
|
|
84
135
|
|
|
@@ -1218,18 +1269,18 @@ on an indeterminate checkbox.</p>
|
|
|
1218
1269
|
</tr>
|
|
1219
1270
|
|
|
1220
1271
|
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1272
|
+
<tr>
|
|
1273
|
+
<td class="col-md-4">
|
|
1274
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1224
1275
|
</div>
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1276
|
+
</td>
|
|
1277
|
+
</tr>
|
|
1278
|
+
<tr>
|
|
1279
|
+
<td class="col-md-4">
|
|
1280
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:251</a></code>
|
|
1230
1281
|
</div>
|
|
1231
|
-
|
|
1232
|
-
|
|
1282
|
+
</td>
|
|
1283
|
+
</tr>
|
|
1233
1284
|
|
|
1234
1285
|
|
|
1235
1286
|
</tbody>
|
|
@@ -1258,29 +1309,29 @@ on an indeterminate checkbox.</p>
|
|
|
1258
1309
|
</tr>
|
|
1259
1310
|
|
|
1260
1311
|
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1312
|
+
<tr>
|
|
1313
|
+
<td class="col-md-4">
|
|
1314
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1264
1315
|
</div>
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1316
|
+
</td>
|
|
1317
|
+
</tr>
|
|
1318
|
+
<tr>
|
|
1319
|
+
<td class="col-md-4">
|
|
1320
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:195</a></code>
|
|
1270
1321
|
</div>
|
|
1271
|
-
|
|
1272
|
-
|
|
1322
|
+
</td>
|
|
1323
|
+
</tr>
|
|
1273
1324
|
|
|
1274
1325
|
|
|
1275
1326
|
<tr>
|
|
1276
1327
|
<td class="col-md-4">
|
|
1277
|
-
|
|
1328
|
+
<div class="io-description"><p>Creates instance of <code>ToggleChange</code> used to propagate the change event.</p>
|
|
1278
1329
|
</div>
|
|
1279
1330
|
|
|
1280
|
-
|
|
1281
|
-
|
|
1331
|
+
<div class="io-description">
|
|
1332
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1282
1333
|
|
|
1283
|
-
|
|
1334
|
+
</div>
|
|
1284
1335
|
</td>
|
|
1285
1336
|
</tr>
|
|
1286
1337
|
</tbody>
|
|
@@ -1303,21 +1354,21 @@ on an indeterminate checkbox.</p>
|
|
|
1303
1354
|
</tr>
|
|
1304
1355
|
|
|
1305
1356
|
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1357
|
+
<tr>
|
|
1358
|
+
<td class="col-md-4">
|
|
1359
|
+
<div class="io-line">Defined in <a href="" data-line="185"
|
|
1360
|
+
class="link-to-prism">src/toggle/toggle.component.ts:185</a></div>
|
|
1361
|
+
</td>
|
|
1362
|
+
</tr>
|
|
1312
1363
|
|
|
1313
1364
|
|
|
1314
1365
|
<tr>
|
|
1315
1366
|
<td class="col-md-4">
|
|
1316
1367
|
|
|
1317
|
-
|
|
1318
|
-
|
|
1368
|
+
<div class="io-description">
|
|
1369
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
1319
1370
|
|
|
1320
|
-
|
|
1371
|
+
</div>
|
|
1321
1372
|
</td>
|
|
1322
1373
|
</tr>
|
|
1323
1374
|
</tbody>
|
|
@@ -1340,21 +1391,21 @@ on an indeterminate checkbox.</p>
|
|
|
1340
1391
|
</tr>
|
|
1341
1392
|
|
|
1342
1393
|
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1394
|
+
<tr>
|
|
1395
|
+
<td class="col-md-4">
|
|
1396
|
+
<div class="io-line">Defined in <a href="" data-line="177"
|
|
1397
|
+
class="link-to-prism">src/toggle/toggle.component.ts:177</a></div>
|
|
1398
|
+
</td>
|
|
1399
|
+
</tr>
|
|
1349
1400
|
|
|
1350
1401
|
|
|
1351
1402
|
<tr>
|
|
1352
1403
|
<td class="col-md-4">
|
|
1353
1404
|
|
|
1354
|
-
|
|
1355
|
-
|
|
1405
|
+
<div class="io-description">
|
|
1406
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
1356
1407
|
|
|
1357
|
-
|
|
1408
|
+
</div>
|
|
1358
1409
|
</td>
|
|
1359
1410
|
</tr>
|
|
1360
1411
|
</tbody>
|
|
@@ -1377,21 +1428,21 @@ on an indeterminate checkbox.</p>
|
|
|
1377
1428
|
</tr>
|
|
1378
1429
|
|
|
1379
1430
|
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1431
|
+
<tr>
|
|
1432
|
+
<td class="col-md-4">
|
|
1433
|
+
<div class="io-line">Defined in <a href="" data-line="181"
|
|
1434
|
+
class="link-to-prism">src/toggle/toggle.component.ts:181</a></div>
|
|
1435
|
+
</td>
|
|
1436
|
+
</tr>
|
|
1386
1437
|
|
|
1387
1438
|
|
|
1388
1439
|
<tr>
|
|
1389
1440
|
<td class="col-md-4">
|
|
1390
1441
|
|
|
1391
|
-
|
|
1392
|
-
|
|
1442
|
+
<div class="io-description">
|
|
1443
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
1393
1444
|
|
|
1394
|
-
|
|
1445
|
+
</div>
|
|
1395
1446
|
</td>
|
|
1396
1447
|
</tr>
|
|
1397
1448
|
</tbody>
|
|
@@ -1402,7 +1453,7 @@ on an indeterminate checkbox.</p>
|
|
|
1402
1453
|
<td class="col-md-4">
|
|
1403
1454
|
<a name="isTemplate"></a>
|
|
1404
1455
|
<span class="name">
|
|
1405
|
-
|
|
1456
|
+
<span class="modifier">Public</span>
|
|
1406
1457
|
<span ><b>isTemplate</b></span>
|
|
1407
1458
|
<a href="#isTemplate"><span class="icon ion-ios-link"></span></a>
|
|
1408
1459
|
</span>
|
|
@@ -1410,55 +1461,53 @@ on an indeterminate checkbox.</p>
|
|
|
1410
1461
|
</tr>
|
|
1411
1462
|
<tr>
|
|
1412
1463
|
<td class="col-md-4">
|
|
1413
|
-
|
|
1464
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1414
1465
|
<code>isTemplate(value)</code>
|
|
1415
1466
|
</td>
|
|
1416
1467
|
</tr>
|
|
1417
1468
|
|
|
1418
1469
|
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1470
|
+
<tr>
|
|
1471
|
+
<td class="col-md-4">
|
|
1472
|
+
<div class="io-line">Defined in <a href="" data-line="200"
|
|
1473
|
+
class="link-to-prism">src/toggle/toggle.component.ts:200</a></div>
|
|
1474
|
+
</td>
|
|
1475
|
+
</tr>
|
|
1425
1476
|
|
|
1426
1477
|
|
|
1427
1478
|
<tr>
|
|
1428
1479
|
<td class="col-md-4">
|
|
1429
1480
|
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1481
|
+
<div class="io-description">
|
|
1482
|
+
<b>Parameters :</b>
|
|
1483
|
+
|
|
1484
|
+
<table class="params">
|
|
1485
|
+
<thead>
|
|
1486
|
+
<tr>
|
|
1487
|
+
<td>Name</td>
|
|
1488
|
+
<td>Optional</td>
|
|
1489
|
+
</tr>
|
|
1490
|
+
</thead>
|
|
1491
|
+
<tbody>
|
|
1492
|
+
<tr>
|
|
1493
|
+
<td>value</td>
|
|
1443
1494
|
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1495
|
+
<td>
|
|
1496
|
+
No
|
|
1497
|
+
</td>
|
|
1447
1498
|
|
|
1448
1499
|
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
<div class="io-description">
|
|
1456
|
-
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1500
|
+
</tr>
|
|
1501
|
+
</tbody>
|
|
1502
|
+
</table>
|
|
1503
|
+
</div>
|
|
1504
|
+
<div class="io-description">
|
|
1505
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1457
1506
|
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1507
|
+
</div>
|
|
1508
|
+
<div class="io-description">
|
|
1509
|
+
|
|
1510
|
+
</div>
|
|
1462
1511
|
</td>
|
|
1463
1512
|
</tr>
|
|
1464
1513
|
</tbody>
|
|
@@ -1481,67 +1530,65 @@ on an indeterminate checkbox.</p>
|
|
|
1481
1530
|
</tr>
|
|
1482
1531
|
|
|
1483
1532
|
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1533
|
+
<tr>
|
|
1534
|
+
<td class="col-md-4">
|
|
1535
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1487
1536
|
</div>
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1537
|
+
</td>
|
|
1538
|
+
</tr>
|
|
1539
|
+
<tr>
|
|
1540
|
+
<td class="col-md-4">
|
|
1541
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:173</a></code>
|
|
1493
1542
|
</div>
|
|
1494
|
-
|
|
1495
|
-
|
|
1543
|
+
</td>
|
|
1544
|
+
</tr>
|
|
1496
1545
|
|
|
1497
1546
|
|
|
1498
1547
|
<tr>
|
|
1499
1548
|
<td class="col-md-4">
|
|
1500
|
-
|
|
1549
|
+
<div class="io-description"><p><code>ControlValueAccessor</code> method to programmatically disable the toggle input.</p>
|
|
1501
1550
|
<p>ex: <code>this.formGroup.get("myToggle").disable();</code></p>
|
|
1502
1551
|
</div>
|
|
1503
1552
|
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
</div>
|
|
1553
|
+
<div class="io-description">
|
|
1554
|
+
<b>Parameters :</b>
|
|
1555
|
+
|
|
1556
|
+
<table class="params">
|
|
1557
|
+
<thead>
|
|
1558
|
+
<tr>
|
|
1559
|
+
<td>Name</td>
|
|
1560
|
+
<td>Type</td>
|
|
1561
|
+
<td>Optional</td>
|
|
1562
|
+
<td>Description</td>
|
|
1563
|
+
</tr>
|
|
1564
|
+
</thead>
|
|
1565
|
+
<tbody>
|
|
1566
|
+
<tr>
|
|
1567
|
+
<td>isDisabled</td>
|
|
1568
|
+
<td>
|
|
1569
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1570
|
+
</td>
|
|
1571
|
+
|
|
1572
|
+
<td>
|
|
1573
|
+
No
|
|
1574
|
+
</td>
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
<td>
|
|
1578
|
+
<p><code>true</code> to disable the input</p>
|
|
1579
|
+
|
|
1580
|
+
</td>
|
|
1581
|
+
</tr>
|
|
1582
|
+
</tbody>
|
|
1583
|
+
</table>
|
|
1584
|
+
</div>
|
|
1585
|
+
<div class="io-description">
|
|
1586
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1587
|
+
|
|
1588
|
+
</div>
|
|
1589
|
+
<div class="io-description">
|
|
1590
|
+
|
|
1591
|
+
</div>
|
|
1545
1592
|
</td>
|
|
1546
1593
|
</tr>
|
|
1547
1594
|
</tbody>
|
|
@@ -1552,7 +1599,7 @@ on an indeterminate checkbox.</p>
|
|
|
1552
1599
|
<td class="col-md-4">
|
|
1553
1600
|
<a name="focusOut"></a>
|
|
1554
1601
|
<span class="name">
|
|
1555
|
-
|
|
1602
|
+
<span class="modifier"></span>
|
|
1556
1603
|
<span ><b>focusOut</b></span>
|
|
1557
1604
|
<a href="#focusOut"><span class="icon ion-ios-link"></span></a>
|
|
1558
1605
|
</span>
|
|
@@ -1560,7 +1607,7 @@ on an indeterminate checkbox.</p>
|
|
|
1560
1607
|
</tr>
|
|
1561
1608
|
<tr>
|
|
1562
1609
|
<td class="col-md-4">
|
|
1563
|
-
|
|
1610
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1564
1611
|
<code>focusOut()</code>
|
|
1565
1612
|
</td>
|
|
1566
1613
|
</tr>
|
|
@@ -1573,27 +1620,27 @@ on an indeterminate checkbox.</p>
|
|
|
1573
1620
|
</td>
|
|
1574
1621
|
</tr>
|
|
1575
1622
|
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1623
|
+
<tr>
|
|
1624
|
+
<td class="col-md-4">
|
|
1625
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1579
1626
|
</div>
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1627
|
+
</td>
|
|
1628
|
+
</tr>
|
|
1629
|
+
<tr>
|
|
1630
|
+
<td class="col-md-4">
|
|
1631
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:251</a></code>
|
|
1585
1632
|
</div>
|
|
1586
|
-
|
|
1587
|
-
|
|
1633
|
+
</td>
|
|
1634
|
+
</tr>
|
|
1588
1635
|
|
|
1589
1636
|
|
|
1590
1637
|
<tr>
|
|
1591
1638
|
<td class="col-md-4">
|
|
1592
1639
|
|
|
1593
|
-
|
|
1594
|
-
|
|
1640
|
+
<div class="io-description">
|
|
1641
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1595
1642
|
|
|
1596
|
-
|
|
1643
|
+
</div>
|
|
1597
1644
|
</td>
|
|
1598
1645
|
</tr>
|
|
1599
1646
|
</tbody>
|
|
@@ -1616,29 +1663,29 @@ on an indeterminate checkbox.</p>
|
|
|
1616
1663
|
</tr>
|
|
1617
1664
|
|
|
1618
1665
|
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1666
|
+
<tr>
|
|
1667
|
+
<td class="col-md-4">
|
|
1668
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1622
1669
|
</div>
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1670
|
+
</td>
|
|
1671
|
+
</tr>
|
|
1672
|
+
<tr>
|
|
1673
|
+
<td class="col-md-4">
|
|
1674
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:304</a></code>
|
|
1628
1675
|
</div>
|
|
1629
|
-
|
|
1630
|
-
|
|
1676
|
+
</td>
|
|
1677
|
+
</tr>
|
|
1631
1678
|
|
|
1632
1679
|
|
|
1633
1680
|
<tr>
|
|
1634
1681
|
<td class="col-md-4">
|
|
1635
|
-
|
|
1682
|
+
<div class="io-description"><p>Updates the checkbox if it is in the indeterminate state.</p>
|
|
1636
1683
|
</div>
|
|
1637
1684
|
|
|
1638
|
-
|
|
1639
|
-
|
|
1685
|
+
<div class="io-description">
|
|
1686
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1640
1687
|
|
|
1641
|
-
|
|
1688
|
+
</div>
|
|
1642
1689
|
</td>
|
|
1643
1690
|
</tr>
|
|
1644
1691
|
</tbody>
|
|
@@ -1661,61 +1708,59 @@ on an indeterminate checkbox.</p>
|
|
|
1661
1708
|
</tr>
|
|
1662
1709
|
|
|
1663
1710
|
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1711
|
+
<tr>
|
|
1712
|
+
<td class="col-md-4">
|
|
1713
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1667
1714
|
</div>
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1715
|
+
</td>
|
|
1716
|
+
</tr>
|
|
1717
|
+
<tr>
|
|
1718
|
+
<td class="col-md-4">
|
|
1719
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:258</a></code>
|
|
1673
1720
|
</div>
|
|
1674
|
-
|
|
1675
|
-
|
|
1721
|
+
</td>
|
|
1722
|
+
</tr>
|
|
1676
1723
|
|
|
1677
1724
|
|
|
1678
1725
|
<tr>
|
|
1679
1726
|
<td class="col-md-4">
|
|
1680
|
-
|
|
1727
|
+
<div class="io-description"><p>Executes on the event of a change within <code>Checkbox</code> to block propagation.</p>
|
|
1681
1728
|
</div>
|
|
1682
1729
|
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1730
|
+
<div class="io-description">
|
|
1731
|
+
<b>Parameters :</b>
|
|
1732
|
+
|
|
1733
|
+
<table class="params">
|
|
1734
|
+
<thead>
|
|
1735
|
+
<tr>
|
|
1736
|
+
<td>Name</td>
|
|
1737
|
+
<td>Type</td>
|
|
1738
|
+
<td>Optional</td>
|
|
1739
|
+
</tr>
|
|
1740
|
+
</thead>
|
|
1741
|
+
<tbody>
|
|
1742
|
+
<tr>
|
|
1743
|
+
<td>event</td>
|
|
1744
|
+
<td>
|
|
1745
|
+
<code>Event</code>
|
|
1746
|
+
</td>
|
|
1700
1747
|
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1748
|
+
<td>
|
|
1749
|
+
No
|
|
1750
|
+
</td>
|
|
1704
1751
|
|
|
1705
1752
|
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
<div class="io-description">
|
|
1713
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1753
|
+
</tr>
|
|
1754
|
+
</tbody>
|
|
1755
|
+
</table>
|
|
1756
|
+
</div>
|
|
1757
|
+
<div class="io-description">
|
|
1758
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1714
1759
|
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1760
|
+
</div>
|
|
1761
|
+
<div class="io-description">
|
|
1762
|
+
|
|
1763
|
+
</div>
|
|
1719
1764
|
</td>
|
|
1720
1765
|
</tr>
|
|
1721
1766
|
</tbody>
|
|
@@ -1738,61 +1783,59 @@ on an indeterminate checkbox.</p>
|
|
|
1738
1783
|
</tr>
|
|
1739
1784
|
|
|
1740
1785
|
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1786
|
+
<tr>
|
|
1787
|
+
<td class="col-md-4">
|
|
1788
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1744
1789
|
</div>
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1790
|
+
</td>
|
|
1791
|
+
</tr>
|
|
1792
|
+
<tr>
|
|
1793
|
+
<td class="col-md-4">
|
|
1794
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:265</a></code>
|
|
1750
1795
|
</div>
|
|
1751
|
-
|
|
1752
|
-
|
|
1796
|
+
</td>
|
|
1797
|
+
</tr>
|
|
1753
1798
|
|
|
1754
1799
|
|
|
1755
1800
|
<tr>
|
|
1756
1801
|
<td class="col-md-4">
|
|
1757
|
-
|
|
1802
|
+
<div class="io-description"><p>Handles click events on the <code>Checkbox</code> and emits changes to other classes.</p>
|
|
1758
1803
|
</div>
|
|
1759
1804
|
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1805
|
+
<div class="io-description">
|
|
1806
|
+
<b>Parameters :</b>
|
|
1807
|
+
|
|
1808
|
+
<table class="params">
|
|
1809
|
+
<thead>
|
|
1810
|
+
<tr>
|
|
1811
|
+
<td>Name</td>
|
|
1812
|
+
<td>Type</td>
|
|
1813
|
+
<td>Optional</td>
|
|
1814
|
+
</tr>
|
|
1815
|
+
</thead>
|
|
1816
|
+
<tbody>
|
|
1817
|
+
<tr>
|
|
1818
|
+
<td>event</td>
|
|
1819
|
+
<td>
|
|
1820
|
+
<code>Event</code>
|
|
1821
|
+
</td>
|
|
1777
1822
|
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1823
|
+
<td>
|
|
1824
|
+
No
|
|
1825
|
+
</td>
|
|
1781
1826
|
|
|
1782
1827
|
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
<div class="io-description">
|
|
1790
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1828
|
+
</tr>
|
|
1829
|
+
</tbody>
|
|
1830
|
+
</table>
|
|
1831
|
+
</div>
|
|
1832
|
+
<div class="io-description">
|
|
1833
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1791
1834
|
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1835
|
+
</div>
|
|
1836
|
+
<div class="io-description">
|
|
1837
|
+
|
|
1838
|
+
</div>
|
|
1796
1839
|
</td>
|
|
1797
1840
|
</tr>
|
|
1798
1841
|
</tbody>
|
|
@@ -1803,7 +1846,7 @@ on an indeterminate checkbox.</p>
|
|
|
1803
1846
|
<td class="col-md-4">
|
|
1804
1847
|
<a name="registerOnChange"></a>
|
|
1805
1848
|
<span class="name">
|
|
1806
|
-
|
|
1849
|
+
<span class="modifier">Public</span>
|
|
1807
1850
|
<span ><b>registerOnChange</b></span>
|
|
1808
1851
|
<a href="#registerOnChange"><span class="icon ion-ios-link"></span></a>
|
|
1809
1852
|
</span>
|
|
@@ -1811,67 +1854,65 @@ on an indeterminate checkbox.</p>
|
|
|
1811
1854
|
</tr>
|
|
1812
1855
|
<tr>
|
|
1813
1856
|
<td class="col-md-4">
|
|
1814
|
-
|
|
1857
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1815
1858
|
<code>registerOnChange(fn: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
1816
1859
|
</td>
|
|
1817
1860
|
</tr>
|
|
1818
1861
|
|
|
1819
1862
|
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1863
|
+
<tr>
|
|
1864
|
+
<td class="col-md-4">
|
|
1865
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1823
1866
|
</div>
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1867
|
+
</td>
|
|
1868
|
+
</tr>
|
|
1869
|
+
<tr>
|
|
1870
|
+
<td class="col-md-4">
|
|
1871
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:226</a></code>
|
|
1829
1872
|
</div>
|
|
1830
|
-
|
|
1831
|
-
|
|
1873
|
+
</td>
|
|
1874
|
+
</tr>
|
|
1832
1875
|
|
|
1833
1876
|
|
|
1834
1877
|
<tr>
|
|
1835
1878
|
<td class="col-md-4">
|
|
1836
|
-
|
|
1879
|
+
<div class="io-description"><p>Sets a method in order to propagate changes back to the form.</p>
|
|
1837
1880
|
</div>
|
|
1838
1881
|
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1882
|
+
<div class="io-description">
|
|
1883
|
+
<b>Parameters :</b>
|
|
1884
|
+
|
|
1885
|
+
<table class="params">
|
|
1886
|
+
<thead>
|
|
1887
|
+
<tr>
|
|
1888
|
+
<td>Name</td>
|
|
1889
|
+
<td>Type</td>
|
|
1890
|
+
<td>Optional</td>
|
|
1891
|
+
</tr>
|
|
1892
|
+
</thead>
|
|
1893
|
+
<tbody>
|
|
1894
|
+
<tr>
|
|
1895
|
+
<td>fn</td>
|
|
1896
|
+
<td>
|
|
1897
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1898
|
+
</td>
|
|
1856
1899
|
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1900
|
+
<td>
|
|
1901
|
+
No
|
|
1902
|
+
</td>
|
|
1860
1903
|
|
|
1861
1904
|
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
<div class="io-description">
|
|
1869
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1905
|
+
</tr>
|
|
1906
|
+
</tbody>
|
|
1907
|
+
</table>
|
|
1908
|
+
</div>
|
|
1909
|
+
<div class="io-description">
|
|
1910
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1870
1911
|
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1912
|
+
</div>
|
|
1913
|
+
<div class="io-description">
|
|
1914
|
+
|
|
1915
|
+
</div>
|
|
1875
1916
|
</td>
|
|
1876
1917
|
</tr>
|
|
1877
1918
|
</tbody>
|
|
@@ -1882,7 +1923,7 @@ on an indeterminate checkbox.</p>
|
|
|
1882
1923
|
<td class="col-md-4">
|
|
1883
1924
|
<a name="registerOnTouched"></a>
|
|
1884
1925
|
<span class="name">
|
|
1885
|
-
|
|
1926
|
+
<span class="modifier">Public</span>
|
|
1886
1927
|
<span ><b>registerOnTouched</b></span>
|
|
1887
1928
|
<a href="#registerOnTouched"><span class="icon ion-ios-link"></span></a>
|
|
1888
1929
|
</span>
|
|
@@ -1890,72 +1931,70 @@ on an indeterminate checkbox.</p>
|
|
|
1890
1931
|
</tr>
|
|
1891
1932
|
<tr>
|
|
1892
1933
|
<td class="col-md-4">
|
|
1893
|
-
|
|
1934
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1894
1935
|
<code>registerOnTouched(fn: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
1895
1936
|
</td>
|
|
1896
1937
|
</tr>
|
|
1897
1938
|
|
|
1898
1939
|
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1940
|
+
<tr>
|
|
1941
|
+
<td class="col-md-4">
|
|
1942
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1902
1943
|
</div>
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1944
|
+
</td>
|
|
1945
|
+
</tr>
|
|
1946
|
+
<tr>
|
|
1947
|
+
<td class="col-md-4">
|
|
1948
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:234</a></code>
|
|
1908
1949
|
</div>
|
|
1909
|
-
|
|
1910
|
-
|
|
1950
|
+
</td>
|
|
1951
|
+
</tr>
|
|
1911
1952
|
|
|
1912
1953
|
|
|
1913
1954
|
<tr>
|
|
1914
1955
|
<td class="col-md-4">
|
|
1915
|
-
|
|
1956
|
+
<div class="io-description"><p>Registers a callback to be triggered when the control has been touched.</p>
|
|
1916
1957
|
</div>
|
|
1917
1958
|
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1959
|
+
<div class="io-description">
|
|
1960
|
+
<b>Parameters :</b>
|
|
1961
|
+
|
|
1962
|
+
<table class="params">
|
|
1963
|
+
<thead>
|
|
1964
|
+
<tr>
|
|
1965
|
+
<td>Name</td>
|
|
1966
|
+
<td>Type</td>
|
|
1967
|
+
<td>Optional</td>
|
|
1968
|
+
<td>Description</td>
|
|
1969
|
+
</tr>
|
|
1970
|
+
</thead>
|
|
1971
|
+
<tbody>
|
|
1972
|
+
<tr>
|
|
1973
|
+
<td>fn</td>
|
|
1974
|
+
<td>
|
|
1975
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1976
|
+
</td>
|
|
1936
1977
|
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1978
|
+
<td>
|
|
1979
|
+
No
|
|
1980
|
+
</td>
|
|
1940
1981
|
|
|
1941
1982
|
|
|
1942
|
-
|
|
1943
|
-
|
|
1983
|
+
<td>
|
|
1984
|
+
<p>Callback to be triggered when the checkbox is touched.</p>
|
|
1944
1985
|
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
<div class="io-description">
|
|
1953
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1986
|
+
</td>
|
|
1987
|
+
</tr>
|
|
1988
|
+
</tbody>
|
|
1989
|
+
</table>
|
|
1990
|
+
</div>
|
|
1991
|
+
<div class="io-description">
|
|
1992
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1954
1993
|
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1994
|
+
</div>
|
|
1995
|
+
<div class="io-description">
|
|
1996
|
+
|
|
1997
|
+
</div>
|
|
1959
1998
|
</td>
|
|
1960
1999
|
</tr>
|
|
1961
2000
|
</tbody>
|
|
@@ -1966,7 +2005,7 @@ on an indeterminate checkbox.</p>
|
|
|
1966
2005
|
<td class="col-md-4">
|
|
1967
2006
|
<a name="setChecked"></a>
|
|
1968
2007
|
<span class="name">
|
|
1969
|
-
|
|
2008
|
+
<span class="modifier">Private</span>
|
|
1970
2009
|
<span ><b>setChecked</b></span>
|
|
1971
2010
|
<a href="#setChecked"><span class="icon ion-ios-link"></span></a>
|
|
1972
2011
|
</span>
|
|
@@ -1974,79 +2013,77 @@ on an indeterminate checkbox.</p>
|
|
|
1974
2013
|
</tr>
|
|
1975
2014
|
<tr>
|
|
1976
2015
|
<td class="col-md-4">
|
|
1977
|
-
|
|
2016
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1978
2017
|
<code>setChecked(checked: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank">boolean</a>, resetIndeterminate: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank">boolean</a>)</code>
|
|
1979
2018
|
</td>
|
|
1980
2019
|
</tr>
|
|
1981
2020
|
|
|
1982
2021
|
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
2022
|
+
<tr>
|
|
2023
|
+
<td class="col-md-4">
|
|
2024
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
1986
2025
|
</div>
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
2026
|
+
</td>
|
|
2027
|
+
</tr>
|
|
2028
|
+
<tr>
|
|
2029
|
+
<td class="col-md-4">
|
|
2030
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:318</a></code>
|
|
1992
2031
|
</div>
|
|
1993
|
-
|
|
1994
|
-
|
|
2032
|
+
</td>
|
|
2033
|
+
</tr>
|
|
1995
2034
|
|
|
1996
2035
|
|
|
1997
2036
|
<tr>
|
|
1998
2037
|
<td class="col-md-4">
|
|
1999
|
-
|
|
2038
|
+
<div class="io-description"><p>Sets checked state and optionally resets indeterminate state.</p>
|
|
2000
2039
|
</div>
|
|
2001
2040
|
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2041
|
+
<div class="io-description">
|
|
2042
|
+
<b>Parameters :</b>
|
|
2043
|
+
|
|
2044
|
+
<table class="params">
|
|
2045
|
+
<thead>
|
|
2046
|
+
<tr>
|
|
2047
|
+
<td>Name</td>
|
|
2048
|
+
<td>Type</td>
|
|
2049
|
+
<td>Optional</td>
|
|
2050
|
+
</tr>
|
|
2051
|
+
</thead>
|
|
2052
|
+
<tbody>
|
|
2053
|
+
<tr>
|
|
2054
|
+
<td>checked</td>
|
|
2055
|
+
<td>
|
|
2056
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
2057
|
+
</td>
|
|
2019
2058
|
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2059
|
+
<td>
|
|
2060
|
+
No
|
|
2061
|
+
</td>
|
|
2023
2062
|
|
|
2024
2063
|
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2064
|
+
</tr>
|
|
2065
|
+
<tr>
|
|
2066
|
+
<td>resetIndeterminate</td>
|
|
2067
|
+
<td>
|
|
2068
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
2069
|
+
</td>
|
|
2031
2070
|
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2071
|
+
<td>
|
|
2072
|
+
No
|
|
2073
|
+
</td>
|
|
2035
2074
|
|
|
2036
2075
|
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
<div class="io-description">
|
|
2044
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2076
|
+
</tr>
|
|
2077
|
+
</tbody>
|
|
2078
|
+
</table>
|
|
2079
|
+
</div>
|
|
2080
|
+
<div class="io-description">
|
|
2081
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2045
2082
|
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2083
|
+
</div>
|
|
2084
|
+
<div class="io-description">
|
|
2085
|
+
|
|
2086
|
+
</div>
|
|
2050
2087
|
</td>
|
|
2051
2088
|
</tr>
|
|
2052
2089
|
</tbody>
|
|
@@ -2057,7 +2094,7 @@ on an indeterminate checkbox.</p>
|
|
|
2057
2094
|
<td class="col-md-4">
|
|
2058
2095
|
<a name="toggle"></a>
|
|
2059
2096
|
<span class="name">
|
|
2060
|
-
|
|
2097
|
+
<span class="modifier">Public</span>
|
|
2061
2098
|
<span ><b>toggle</b></span>
|
|
2062
2099
|
<a href="#toggle"><span class="icon ion-ios-link"></span></a>
|
|
2063
2100
|
</span>
|
|
@@ -2065,35 +2102,35 @@ on an indeterminate checkbox.</p>
|
|
|
2065
2102
|
</tr>
|
|
2066
2103
|
<tr>
|
|
2067
2104
|
<td class="col-md-4">
|
|
2068
|
-
|
|
2105
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
2069
2106
|
<code>toggle()</code>
|
|
2070
2107
|
</td>
|
|
2071
2108
|
</tr>
|
|
2072
2109
|
|
|
2073
2110
|
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2111
|
+
<tr>
|
|
2112
|
+
<td class="col-md-4">
|
|
2113
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
2077
2114
|
</div>
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2115
|
+
</td>
|
|
2116
|
+
</tr>
|
|
2117
|
+
<tr>
|
|
2118
|
+
<td class="col-md-4">
|
|
2119
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:206</a></code>
|
|
2083
2120
|
</div>
|
|
2084
|
-
|
|
2085
|
-
|
|
2121
|
+
</td>
|
|
2122
|
+
</tr>
|
|
2086
2123
|
|
|
2087
2124
|
|
|
2088
2125
|
<tr>
|
|
2089
2126
|
<td class="col-md-4">
|
|
2090
|
-
|
|
2127
|
+
<div class="io-description"><p>Toggle the selected state of the checkbox.</p>
|
|
2091
2128
|
</div>
|
|
2092
2129
|
|
|
2093
|
-
|
|
2094
|
-
|
|
2130
|
+
<div class="io-description">
|
|
2131
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2095
2132
|
|
|
2096
|
-
|
|
2133
|
+
</div>
|
|
2097
2134
|
</td>
|
|
2098
2135
|
</tr>
|
|
2099
2136
|
</tbody>
|
|
@@ -2116,61 +2153,59 @@ on an indeterminate checkbox.</p>
|
|
|
2116
2153
|
</tr>
|
|
2117
2154
|
|
|
2118
2155
|
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2156
|
+
<tr>
|
|
2157
|
+
<td class="col-md-4">
|
|
2158
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
2122
2159
|
</div>
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2160
|
+
</td>
|
|
2161
|
+
</tr>
|
|
2162
|
+
<tr>
|
|
2163
|
+
<td class="col-md-4">
|
|
2164
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:289</a></code>
|
|
2128
2165
|
</div>
|
|
2129
|
-
|
|
2130
|
-
|
|
2166
|
+
</td>
|
|
2167
|
+
</tr>
|
|
2131
2168
|
|
|
2132
2169
|
|
|
2133
2170
|
<tr>
|
|
2134
2171
|
<td class="col-md-4">
|
|
2135
|
-
|
|
2172
|
+
<div class="io-description"><p>Handles changes between checkbox states.</p>
|
|
2136
2173
|
</div>
|
|
2137
2174
|
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2175
|
+
<div class="io-description">
|
|
2176
|
+
<b>Parameters :</b>
|
|
2177
|
+
|
|
2178
|
+
<table class="params">
|
|
2179
|
+
<thead>
|
|
2180
|
+
<tr>
|
|
2181
|
+
<td>Name</td>
|
|
2182
|
+
<td>Type</td>
|
|
2183
|
+
<td>Optional</td>
|
|
2184
|
+
</tr>
|
|
2185
|
+
</thead>
|
|
2186
|
+
<tbody>
|
|
2187
|
+
<tr>
|
|
2188
|
+
<td>newState</td>
|
|
2189
|
+
<td>
|
|
2190
|
+
<code><a href="../miscellaneous/enumerations.html#CheckboxState" target="_self" >CheckboxState</a></code>
|
|
2191
|
+
</td>
|
|
2155
2192
|
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2193
|
+
<td>
|
|
2194
|
+
No
|
|
2195
|
+
</td>
|
|
2159
2196
|
|
|
2160
2197
|
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
<div class="io-description">
|
|
2168
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2198
|
+
</tr>
|
|
2199
|
+
</tbody>
|
|
2200
|
+
</table>
|
|
2201
|
+
</div>
|
|
2202
|
+
<div class="io-description">
|
|
2203
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2169
2204
|
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2205
|
+
</div>
|
|
2206
|
+
<div class="io-description">
|
|
2207
|
+
|
|
2208
|
+
</div>
|
|
2174
2209
|
</td>
|
|
2175
2210
|
</tr>
|
|
2176
2211
|
</tbody>
|
|
@@ -2181,7 +2216,7 @@ on an indeterminate checkbox.</p>
|
|
|
2181
2216
|
<td class="col-md-4">
|
|
2182
2217
|
<a name="writeValue"></a>
|
|
2183
2218
|
<span class="name">
|
|
2184
|
-
|
|
2219
|
+
<span class="modifier">Public</span>
|
|
2185
2220
|
<span ><b>writeValue</b></span>
|
|
2186
2221
|
<a href="#writeValue"><span class="icon ion-ios-link"></span></a>
|
|
2187
2222
|
</span>
|
|
@@ -2189,73 +2224,71 @@ on an indeterminate checkbox.</p>
|
|
|
2189
2224
|
</tr>
|
|
2190
2225
|
<tr>
|
|
2191
2226
|
<td class="col-md-4">
|
|
2192
|
-
|
|
2227
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
2193
2228
|
<code>writeValue(value: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
2194
2229
|
</td>
|
|
2195
2230
|
</tr>
|
|
2196
2231
|
|
|
2197
2232
|
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2233
|
+
<tr>
|
|
2234
|
+
<td class="col-md-4">
|
|
2235
|
+
<div class="io-line">Inherited from <code><a href="../components/Checkbox.html" target="_self" >Checkbox</a></code>
|
|
2201
2236
|
</div>
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2237
|
+
</td>
|
|
2238
|
+
</tr>
|
|
2239
|
+
<tr>
|
|
2240
|
+
<td class="col-md-4">
|
|
2241
|
+
<div class="io-line">Defined in <code><a href="../components/Checkbox.html#source" target="_self" >Checkbox:218</a></code>
|
|
2207
2242
|
</div>
|
|
2208
|
-
|
|
2209
|
-
|
|
2243
|
+
</td>
|
|
2244
|
+
</tr>
|
|
2210
2245
|
|
|
2211
2246
|
|
|
2212
2247
|
<tr>
|
|
2213
2248
|
<td class="col-md-4">
|
|
2214
|
-
|
|
2249
|
+
<div class="io-description"><p>Writes a value from <code>ngModel</code> to the component.</p>
|
|
2215
2250
|
<p>In this case the value is the <code>checked</code> property.</p>
|
|
2216
2251
|
</div>
|
|
2217
2252
|
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
</div>
|
|
2253
|
+
<div class="io-description">
|
|
2254
|
+
<b>Parameters :</b>
|
|
2255
|
+
|
|
2256
|
+
<table class="params">
|
|
2257
|
+
<thead>
|
|
2258
|
+
<tr>
|
|
2259
|
+
<td>Name</td>
|
|
2260
|
+
<td>Type</td>
|
|
2261
|
+
<td>Optional</td>
|
|
2262
|
+
<td>Description</td>
|
|
2263
|
+
</tr>
|
|
2264
|
+
</thead>
|
|
2265
|
+
<tbody>
|
|
2266
|
+
<tr>
|
|
2267
|
+
<td>value</td>
|
|
2268
|
+
<td>
|
|
2269
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
2270
|
+
</td>
|
|
2271
|
+
|
|
2272
|
+
<td>
|
|
2273
|
+
No
|
|
2274
|
+
</td>
|
|
2275
|
+
|
|
2276
|
+
|
|
2277
|
+
<td>
|
|
2278
|
+
<p>boolean, corresponds to the <code>checked</code> property.</p>
|
|
2279
|
+
|
|
2280
|
+
</td>
|
|
2281
|
+
</tr>
|
|
2282
|
+
</tbody>
|
|
2283
|
+
</table>
|
|
2284
|
+
</div>
|
|
2285
|
+
<div class="io-description">
|
|
2286
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
2287
|
+
|
|
2288
|
+
</div>
|
|
2289
|
+
<div class="io-description">
|
|
2290
|
+
|
|
2291
|
+
</div>
|
|
2259
2292
|
</td>
|
|
2260
2293
|
</tr>
|
|
2261
2294
|
</tbody>
|
|
@@ -3195,6 +3228,19 @@ export class Toggle extends Checkbox {
|
|
|
3195
3228
|
var MAX_SEARCH_RESULTS = 15;
|
|
3196
3229
|
</script>
|
|
3197
3230
|
|
|
3231
|
+
<script>
|
|
3232
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
3233
|
+
checkToggle(darkModeState);
|
|
3234
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
3235
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
3236
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
3237
|
+
darkModeState = !darkModeState;
|
|
3238
|
+
toggleDarkMode(darkModeState);
|
|
3239
|
+
});
|
|
3240
|
+
}
|
|
3241
|
+
}
|
|
3242
|
+
</script>
|
|
3243
|
+
|
|
3198
3244
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
3199
3245
|
<script src="../js/libs/lit-html.js"></script>
|
|
3200
3246
|
|