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,14 +121,14 @@
|
|
|
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 { RadioModule } from 'carbon-components-angular';</code></pre></div><p>Ex:</p>
|
|
74
|
-
<div><pre class="line-numbers"><code class="language-html"><cds-radio-group [(ngModel)]="radio">
|
|
124
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { RadioModule } from 'carbon-components-angular';</code></pre></div><p>Ex:</p>
|
|
125
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html"><cds-radio-group [(ngModel)]="radio">
|
|
75
126
|
<cds-radio *ngFor="let one of manyRadios" [value]="one">
|
|
76
127
|
Radio {{one}}
|
|
77
128
|
</cds-radio>
|
|
78
129
|
</cds-radio-group>
|
|
79
130
|
|
|
80
|
-
Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code class="language-ts"> const manyRadios = ["one", "two", "three", "four", "five", "six"];</code></pre></div><p><a href="../../?path=/story/components-radio--basic">See demo</a></p>
|
|
131
|
+
Radio selected: {{radio}}</code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-ts"> const manyRadios = ["one", "two", "three", "four", "five", "six"];</code></pre></div><p><a href="../../?path=/story/components-radio--basic">See demo</a></p>
|
|
81
132
|
|
|
82
133
|
</p>
|
|
83
134
|
|
|
@@ -940,12 +991,12 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
940
991
|
</tr>
|
|
941
992
|
|
|
942
993
|
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
994
|
+
<tr>
|
|
995
|
+
<td class="col-md-4">
|
|
996
|
+
<div class="io-line">Defined in <a href="" data-line="392"
|
|
997
|
+
class="link-to-prism">src/radio/radio-group.component.ts:392</a></div>
|
|
998
|
+
</td>
|
|
999
|
+
</tr>
|
|
949
1000
|
|
|
950
1001
|
|
|
951
1002
|
</tbody>
|
|
@@ -974,23 +1025,23 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
974
1025
|
</tr>
|
|
975
1026
|
|
|
976
1027
|
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
1028
|
+
<tr>
|
|
1029
|
+
<td class="col-md-4">
|
|
1030
|
+
<div class="io-line">Defined in <a href="" data-line="287"
|
|
1031
|
+
class="link-to-prism">src/radio/radio-group.component.ts:287</a></div>
|
|
1032
|
+
</td>
|
|
1033
|
+
</tr>
|
|
983
1034
|
|
|
984
1035
|
|
|
985
1036
|
<tr>
|
|
986
1037
|
<td class="col-md-4">
|
|
987
|
-
|
|
1038
|
+
<div class="io-description"><p>Updates the selected <code>Radio</code> to be checked (selected).</p>
|
|
988
1039
|
</div>
|
|
989
1040
|
|
|
990
|
-
|
|
991
|
-
|
|
1041
|
+
<div class="io-description">
|
|
1042
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
992
1043
|
|
|
993
|
-
|
|
1044
|
+
</div>
|
|
994
1045
|
</td>
|
|
995
1046
|
</tr>
|
|
996
1047
|
</tbody>
|
|
@@ -1013,55 +1064,53 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1013
1064
|
</tr>
|
|
1014
1065
|
|
|
1015
1066
|
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1067
|
+
<tr>
|
|
1068
|
+
<td class="col-md-4">
|
|
1069
|
+
<div class="io-line">Defined in <a href="" data-line="328"
|
|
1070
|
+
class="link-to-prism">src/radio/radio-group.component.ts:328</a></div>
|
|
1071
|
+
</td>
|
|
1072
|
+
</tr>
|
|
1022
1073
|
|
|
1023
1074
|
|
|
1024
1075
|
<tr>
|
|
1025
1076
|
<td class="col-md-4">
|
|
1026
|
-
|
|
1077
|
+
<div class="io-description"><p>Creates a class of <code>RadioChange</code> to emit the change in the <code>RadioGroup</code>.</p>
|
|
1027
1078
|
</div>
|
|
1028
1079
|
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
</div>
|
|
1080
|
+
<div class="io-description">
|
|
1081
|
+
<b>Parameters :</b>
|
|
1082
|
+
|
|
1083
|
+
<table class="params">
|
|
1084
|
+
<thead>
|
|
1085
|
+
<tr>
|
|
1086
|
+
<td>Name</td>
|
|
1087
|
+
<td>Type</td>
|
|
1088
|
+
<td>Optional</td>
|
|
1089
|
+
</tr>
|
|
1090
|
+
</thead>
|
|
1091
|
+
<tbody>
|
|
1092
|
+
<tr>
|
|
1093
|
+
<td>event</td>
|
|
1094
|
+
<td>
|
|
1095
|
+
<code><a href="../classes/RadioChange.html" target="_self" >RadioChange</a></code>
|
|
1096
|
+
</td>
|
|
1097
|
+
|
|
1098
|
+
<td>
|
|
1099
|
+
No
|
|
1100
|
+
</td>
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
</tr>
|
|
1104
|
+
</tbody>
|
|
1105
|
+
</table>
|
|
1106
|
+
</div>
|
|
1107
|
+
<div class="io-description">
|
|
1108
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1109
|
+
|
|
1110
|
+
</div>
|
|
1111
|
+
<div class="io-description">
|
|
1112
|
+
|
|
1113
|
+
</div>
|
|
1065
1114
|
</td>
|
|
1066
1115
|
</tr>
|
|
1067
1116
|
</tbody>
|
|
@@ -1072,7 +1121,7 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1072
1121
|
<td class="col-md-4">
|
|
1073
1122
|
<a name="focusOut"></a>
|
|
1074
1123
|
<span class="name">
|
|
1075
|
-
|
|
1124
|
+
<span class="modifier"></span>
|
|
1076
1125
|
<span ><b>focusOut</b></span>
|
|
1077
1126
|
<a href="#focusOut"><span class="icon ion-ios-link"></span></a>
|
|
1078
1127
|
</span>
|
|
@@ -1080,7 +1129,7 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1080
1129
|
</tr>
|
|
1081
1130
|
<tr>
|
|
1082
1131
|
<td class="col-md-4">
|
|
1083
|
-
|
|
1132
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1084
1133
|
<code>focusOut()</code>
|
|
1085
1134
|
</td>
|
|
1086
1135
|
</tr>
|
|
@@ -1093,21 +1142,21 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1093
1142
|
</td>
|
|
1094
1143
|
</tr>
|
|
1095
1144
|
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1145
|
+
<tr>
|
|
1146
|
+
<td class="col-md-4">
|
|
1147
|
+
<div class="io-line">Defined in <a href="" data-line="392"
|
|
1148
|
+
class="link-to-prism">src/radio/radio-group.component.ts:392</a></div>
|
|
1149
|
+
</td>
|
|
1150
|
+
</tr>
|
|
1102
1151
|
|
|
1103
1152
|
|
|
1104
1153
|
<tr>
|
|
1105
1154
|
<td class="col-md-4">
|
|
1106
1155
|
|
|
1107
|
-
|
|
1108
|
-
|
|
1156
|
+
<div class="io-description">
|
|
1157
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1109
1158
|
|
|
1110
|
-
|
|
1159
|
+
</div>
|
|
1111
1160
|
</td>
|
|
1112
1161
|
</tr>
|
|
1113
1162
|
</tbody>
|
|
@@ -1118,7 +1167,7 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1118
1167
|
<td class="col-md-4">
|
|
1119
1168
|
<a name="isTemplate"></a>
|
|
1120
1169
|
<span class="name">
|
|
1121
|
-
|
|
1170
|
+
<span class="modifier">Public</span>
|
|
1122
1171
|
<span ><b>isTemplate</b></span>
|
|
1123
1172
|
<a href="#isTemplate"><span class="icon ion-ios-link"></span></a>
|
|
1124
1173
|
</span>
|
|
@@ -1126,55 +1175,53 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1126
1175
|
</tr>
|
|
1127
1176
|
<tr>
|
|
1128
1177
|
<td class="col-md-4">
|
|
1129
|
-
|
|
1178
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1130
1179
|
<code>isTemplate(value)</code>
|
|
1131
1180
|
</td>
|
|
1132
1181
|
</tr>
|
|
1133
1182
|
|
|
1134
1183
|
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1184
|
+
<tr>
|
|
1185
|
+
<td class="col-md-4">
|
|
1186
|
+
<div class="io-line">Defined in <a href="" data-line="406"
|
|
1187
|
+
class="link-to-prism">src/radio/radio-group.component.ts:406</a></div>
|
|
1188
|
+
</td>
|
|
1189
|
+
</tr>
|
|
1141
1190
|
|
|
1142
1191
|
|
|
1143
1192
|
<tr>
|
|
1144
1193
|
<td class="col-md-4">
|
|
1145
1194
|
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1195
|
+
<div class="io-description">
|
|
1196
|
+
<b>Parameters :</b>
|
|
1197
|
+
|
|
1198
|
+
<table class="params">
|
|
1199
|
+
<thead>
|
|
1200
|
+
<tr>
|
|
1201
|
+
<td>Name</td>
|
|
1202
|
+
<td>Optional</td>
|
|
1203
|
+
</tr>
|
|
1204
|
+
</thead>
|
|
1205
|
+
<tbody>
|
|
1206
|
+
<tr>
|
|
1207
|
+
<td>value</td>
|
|
1159
1208
|
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1209
|
+
<td>
|
|
1210
|
+
No
|
|
1211
|
+
</td>
|
|
1163
1212
|
|
|
1164
1213
|
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
<div class="io-description">
|
|
1172
|
-
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1214
|
+
</tr>
|
|
1215
|
+
</tbody>
|
|
1216
|
+
</table>
|
|
1217
|
+
</div>
|
|
1218
|
+
<div class="io-description">
|
|
1219
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1173
1220
|
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1221
|
+
</div>
|
|
1222
|
+
<div class="io-description">
|
|
1223
|
+
|
|
1224
|
+
</div>
|
|
1178
1225
|
</td>
|
|
1179
1226
|
</tr>
|
|
1180
1227
|
</tbody>
|
|
@@ -1197,21 +1244,21 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1197
1244
|
</tr>
|
|
1198
1245
|
|
|
1199
1246
|
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1247
|
+
<tr>
|
|
1248
|
+
<td class="col-md-4">
|
|
1249
|
+
<div class="io-line">Defined in <a href="" data-line="362"
|
|
1250
|
+
class="link-to-prism">src/radio/radio-group.component.ts:362</a></div>
|
|
1251
|
+
</td>
|
|
1252
|
+
</tr>
|
|
1206
1253
|
|
|
1207
1254
|
|
|
1208
1255
|
<tr>
|
|
1209
1256
|
<td class="col-md-4">
|
|
1210
1257
|
|
|
1211
|
-
|
|
1212
|
-
|
|
1258
|
+
<div class="io-description">
|
|
1259
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1213
1260
|
|
|
1214
|
-
|
|
1261
|
+
</div>
|
|
1215
1262
|
</td>
|
|
1216
1263
|
</tr>
|
|
1217
1264
|
</tbody>
|
|
@@ -1234,21 +1281,21 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1234
1281
|
</tr>
|
|
1235
1282
|
|
|
1236
1283
|
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1284
|
+
<tr>
|
|
1285
|
+
<td class="col-md-4">
|
|
1286
|
+
<div class="io-line">Defined in <a href="" data-line="372"
|
|
1287
|
+
class="link-to-prism">src/radio/radio-group.component.ts:372</a></div>
|
|
1288
|
+
</td>
|
|
1289
|
+
</tr>
|
|
1243
1290
|
|
|
1244
1291
|
|
|
1245
1292
|
<tr>
|
|
1246
1293
|
<td class="col-md-4">
|
|
1247
1294
|
|
|
1248
|
-
|
|
1249
|
-
|
|
1295
|
+
<div class="io-description">
|
|
1296
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1250
1297
|
|
|
1251
|
-
|
|
1298
|
+
</div>
|
|
1252
1299
|
</td>
|
|
1253
1300
|
</tr>
|
|
1254
1301
|
</tbody>
|
|
@@ -1259,7 +1306,7 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1259
1306
|
<td class="col-md-4">
|
|
1260
1307
|
<a name="registerOnChange"></a>
|
|
1261
1308
|
<span class="name">
|
|
1262
|
-
|
|
1309
|
+
<span class="modifier">Public</span>
|
|
1263
1310
|
<span ><b>registerOnChange</b></span>
|
|
1264
1311
|
<a href="#registerOnChange"><span class="icon ion-ios-link"></span></a>
|
|
1265
1312
|
</span>
|
|
@@ -1267,61 +1314,59 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1267
1314
|
</tr>
|
|
1268
1315
|
<tr>
|
|
1269
1316
|
<td class="col-md-4">
|
|
1270
|
-
|
|
1317
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1271
1318
|
<code>registerOnChange(fn: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
1272
1319
|
</td>
|
|
1273
1320
|
</tr>
|
|
1274
1321
|
|
|
1275
1322
|
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1323
|
+
<tr>
|
|
1324
|
+
<td class="col-md-4">
|
|
1325
|
+
<div class="io-line">Defined in <a href="" data-line="379"
|
|
1326
|
+
class="link-to-prism">src/radio/radio-group.component.ts:379</a></div>
|
|
1327
|
+
</td>
|
|
1328
|
+
</tr>
|
|
1282
1329
|
|
|
1283
1330
|
|
|
1284
1331
|
<tr>
|
|
1285
1332
|
<td class="col-md-4">
|
|
1286
|
-
|
|
1333
|
+
<div class="io-description"><p>Used to set method to propagate changes back to the form.</p>
|
|
1287
1334
|
</div>
|
|
1288
1335
|
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
</div>
|
|
1336
|
+
<div class="io-description">
|
|
1337
|
+
<b>Parameters :</b>
|
|
1338
|
+
|
|
1339
|
+
<table class="params">
|
|
1340
|
+
<thead>
|
|
1341
|
+
<tr>
|
|
1342
|
+
<td>Name</td>
|
|
1343
|
+
<td>Type</td>
|
|
1344
|
+
<td>Optional</td>
|
|
1345
|
+
</tr>
|
|
1346
|
+
</thead>
|
|
1347
|
+
<tbody>
|
|
1348
|
+
<tr>
|
|
1349
|
+
<td>fn</td>
|
|
1350
|
+
<td>
|
|
1351
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1352
|
+
</td>
|
|
1353
|
+
|
|
1354
|
+
<td>
|
|
1355
|
+
No
|
|
1356
|
+
</td>
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
</tr>
|
|
1360
|
+
</tbody>
|
|
1361
|
+
</table>
|
|
1362
|
+
</div>
|
|
1363
|
+
<div class="io-description">
|
|
1364
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1365
|
+
|
|
1366
|
+
</div>
|
|
1367
|
+
<div class="io-description">
|
|
1368
|
+
|
|
1369
|
+
</div>
|
|
1325
1370
|
</td>
|
|
1326
1371
|
</tr>
|
|
1327
1372
|
</tbody>
|
|
@@ -1332,7 +1377,7 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1332
1377
|
<td class="col-md-4">
|
|
1333
1378
|
<a name="registerOnTouched"></a>
|
|
1334
1379
|
<span class="name">
|
|
1335
|
-
|
|
1380
|
+
<span class="modifier">Public</span>
|
|
1336
1381
|
<span ><b>registerOnTouched</b></span>
|
|
1337
1382
|
<a href="#registerOnTouched"><span class="icon ion-ios-link"></span></a>
|
|
1338
1383
|
</span>
|
|
@@ -1340,66 +1385,64 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1340
1385
|
</tr>
|
|
1341
1386
|
<tr>
|
|
1342
1387
|
<td class="col-md-4">
|
|
1343
|
-
|
|
1388
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1344
1389
|
<code>registerOnTouched(fn: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
1345
1390
|
</td>
|
|
1346
1391
|
</tr>
|
|
1347
1392
|
|
|
1348
1393
|
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1394
|
+
<tr>
|
|
1395
|
+
<td class="col-md-4">
|
|
1396
|
+
<div class="io-line">Defined in <a href="" data-line="387"
|
|
1397
|
+
class="link-to-prism">src/radio/radio-group.component.ts:387</a></div>
|
|
1398
|
+
</td>
|
|
1399
|
+
</tr>
|
|
1355
1400
|
|
|
1356
1401
|
|
|
1357
1402
|
<tr>
|
|
1358
1403
|
<td class="col-md-4">
|
|
1359
|
-
|
|
1404
|
+
<div class="io-description"><p>Registers a callback to be triggered when the control has been touched.</p>
|
|
1360
1405
|
</div>
|
|
1361
1406
|
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
</div>
|
|
1407
|
+
<div class="io-description">
|
|
1408
|
+
<b>Parameters :</b>
|
|
1409
|
+
|
|
1410
|
+
<table class="params">
|
|
1411
|
+
<thead>
|
|
1412
|
+
<tr>
|
|
1413
|
+
<td>Name</td>
|
|
1414
|
+
<td>Type</td>
|
|
1415
|
+
<td>Optional</td>
|
|
1416
|
+
<td>Description</td>
|
|
1417
|
+
</tr>
|
|
1418
|
+
</thead>
|
|
1419
|
+
<tbody>
|
|
1420
|
+
<tr>
|
|
1421
|
+
<td>fn</td>
|
|
1422
|
+
<td>
|
|
1423
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1424
|
+
</td>
|
|
1425
|
+
|
|
1426
|
+
<td>
|
|
1427
|
+
No
|
|
1428
|
+
</td>
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
<td>
|
|
1432
|
+
<p>Callback to be triggered when the checkbox is touched.</p>
|
|
1433
|
+
|
|
1434
|
+
</td>
|
|
1435
|
+
</tr>
|
|
1436
|
+
</tbody>
|
|
1437
|
+
</table>
|
|
1438
|
+
</div>
|
|
1439
|
+
<div class="io-description">
|
|
1440
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1441
|
+
|
|
1442
|
+
</div>
|
|
1443
|
+
<div class="io-description">
|
|
1444
|
+
|
|
1445
|
+
</div>
|
|
1403
1446
|
</td>
|
|
1404
1447
|
</tr>
|
|
1405
1448
|
</tbody>
|
|
@@ -1422,61 +1465,59 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1422
1465
|
</tr>
|
|
1423
1466
|
|
|
1424
1467
|
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1468
|
+
<tr>
|
|
1469
|
+
<td class="col-md-4">
|
|
1470
|
+
<div class="io-line">Defined in <a href="" data-line="321"
|
|
1471
|
+
class="link-to-prism">src/radio/radio-group.component.ts:321</a></div>
|
|
1472
|
+
</td>
|
|
1473
|
+
</tr>
|
|
1431
1474
|
|
|
1432
1475
|
|
|
1433
1476
|
<tr>
|
|
1434
1477
|
<td class="col-md-4">
|
|
1435
|
-
|
|
1478
|
+
<div class="io-description"><p><code>ControlValueAccessor</code> method to programmatically disable the <code>RadioGroup</code>.</p>
|
|
1436
1479
|
<p>ex: <code>this.formGroup.get("myRadioGroup").disable();</code></p>
|
|
1437
1480
|
</div>
|
|
1438
1481
|
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
</div>
|
|
1482
|
+
<div class="io-description">
|
|
1483
|
+
<b>Parameters :</b>
|
|
1484
|
+
|
|
1485
|
+
<table class="params">
|
|
1486
|
+
<thead>
|
|
1487
|
+
<tr>
|
|
1488
|
+
<td>Name</td>
|
|
1489
|
+
<td>Type</td>
|
|
1490
|
+
<td>Optional</td>
|
|
1491
|
+
<td>Description</td>
|
|
1492
|
+
</tr>
|
|
1493
|
+
</thead>
|
|
1494
|
+
<tbody>
|
|
1495
|
+
<tr>
|
|
1496
|
+
<td>isDisabled</td>
|
|
1497
|
+
<td>
|
|
1498
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1499
|
+
</td>
|
|
1500
|
+
|
|
1501
|
+
<td>
|
|
1502
|
+
No
|
|
1503
|
+
</td>
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
<td>
|
|
1507
|
+
<p><code>true</code> to disable the inputs</p>
|
|
1508
|
+
|
|
1509
|
+
</td>
|
|
1510
|
+
</tr>
|
|
1511
|
+
</tbody>
|
|
1512
|
+
</table>
|
|
1513
|
+
</div>
|
|
1514
|
+
<div class="io-description">
|
|
1515
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1516
|
+
|
|
1517
|
+
</div>
|
|
1518
|
+
<div class="io-description">
|
|
1519
|
+
|
|
1520
|
+
</div>
|
|
1480
1521
|
</td>
|
|
1481
1522
|
</tr>
|
|
1482
1523
|
</tbody>
|
|
@@ -1487,7 +1528,7 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1487
1528
|
<td class="col-md-4">
|
|
1488
1529
|
<a name="updateChildren"></a>
|
|
1489
1530
|
<span class="name">
|
|
1490
|
-
|
|
1531
|
+
<span class="modifier">Protected</span>
|
|
1491
1532
|
<span ><b>updateChildren</b></span>
|
|
1492
1533
|
<a href="#updateChildren"><span class="icon ion-ios-link"></span></a>
|
|
1493
1534
|
</span>
|
|
@@ -1495,27 +1536,27 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1495
1536
|
</tr>
|
|
1496
1537
|
<tr>
|
|
1497
1538
|
<td class="col-md-4">
|
|
1498
|
-
|
|
1539
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1499
1540
|
<code>updateChildren()</code>
|
|
1500
1541
|
</td>
|
|
1501
1542
|
</tr>
|
|
1502
1543
|
|
|
1503
1544
|
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1545
|
+
<tr>
|
|
1546
|
+
<td class="col-md-4">
|
|
1547
|
+
<div class="io-line">Defined in <a href="" data-line="410"
|
|
1548
|
+
class="link-to-prism">src/radio/radio-group.component.ts:410</a></div>
|
|
1549
|
+
</td>
|
|
1550
|
+
</tr>
|
|
1510
1551
|
|
|
1511
1552
|
|
|
1512
1553
|
<tr>
|
|
1513
1554
|
<td class="col-md-4">
|
|
1514
1555
|
|
|
1515
|
-
|
|
1516
|
-
|
|
1556
|
+
<div class="io-description">
|
|
1557
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1517
1558
|
|
|
1518
|
-
|
|
1559
|
+
</div>
|
|
1519
1560
|
</td>
|
|
1520
1561
|
</tr>
|
|
1521
1562
|
</tbody>
|
|
@@ -1526,7 +1567,7 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1526
1567
|
<td class="col-md-4">
|
|
1527
1568
|
<a name="updateRadioChangeHandler"></a>
|
|
1528
1569
|
<span class="name">
|
|
1529
|
-
|
|
1570
|
+
<span class="modifier">Protected</span>
|
|
1530
1571
|
<span ><b>updateRadioChangeHandler</b></span>
|
|
1531
1572
|
<a href="#updateRadioChangeHandler"><span class="icon ion-ios-link"></span></a>
|
|
1532
1573
|
</span>
|
|
@@ -1534,27 +1575,27 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1534
1575
|
</tr>
|
|
1535
1576
|
<tr>
|
|
1536
1577
|
<td class="col-md-4">
|
|
1537
|
-
|
|
1578
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1538
1579
|
<code>updateRadioChangeHandler()</code>
|
|
1539
1580
|
</td>
|
|
1540
1581
|
</tr>
|
|
1541
1582
|
|
|
1542
1583
|
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1584
|
+
<tr>
|
|
1585
|
+
<td class="col-md-4">
|
|
1586
|
+
<div class="io-line">Defined in <a href="" data-line="416"
|
|
1587
|
+
class="link-to-prism">src/radio/radio-group.component.ts:416</a></div>
|
|
1588
|
+
</td>
|
|
1589
|
+
</tr>
|
|
1549
1590
|
|
|
1550
1591
|
|
|
1551
1592
|
<tr>
|
|
1552
1593
|
<td class="col-md-4">
|
|
1553
1594
|
|
|
1554
|
-
|
|
1555
|
-
|
|
1595
|
+
<div class="io-description">
|
|
1596
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1556
1597
|
|
|
1557
|
-
|
|
1598
|
+
</div>
|
|
1558
1599
|
</td>
|
|
1559
1600
|
</tr>
|
|
1560
1601
|
</tbody>
|
|
@@ -1577,23 +1618,23 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1577
1618
|
</tr>
|
|
1578
1619
|
|
|
1579
1620
|
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1621
|
+
<tr>
|
|
1622
|
+
<td class="col-md-4">
|
|
1623
|
+
<div class="io-line">Defined in <a href="" data-line="337"
|
|
1624
|
+
class="link-to-prism">src/radio/radio-group.component.ts:337</a></div>
|
|
1625
|
+
</td>
|
|
1626
|
+
</tr>
|
|
1586
1627
|
|
|
1587
1628
|
|
|
1588
1629
|
<tr>
|
|
1589
1630
|
<td class="col-md-4">
|
|
1590
|
-
|
|
1631
|
+
<div class="io-description"><p>Synchronizes radio properties.</p>
|
|
1591
1632
|
</div>
|
|
1592
1633
|
|
|
1593
|
-
|
|
1594
|
-
|
|
1634
|
+
<div class="io-description">
|
|
1635
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1595
1636
|
|
|
1596
|
-
|
|
1637
|
+
</div>
|
|
1597
1638
|
</td>
|
|
1598
1639
|
</tr>
|
|
1599
1640
|
</tbody>
|
|
@@ -1616,23 +1657,23 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1616
1657
|
</tr>
|
|
1617
1658
|
|
|
1618
1659
|
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1660
|
+
<tr>
|
|
1661
|
+
<td class="col-md-4">
|
|
1662
|
+
<div class="io-line">Defined in <a href="" data-line="296"
|
|
1663
|
+
class="link-to-prism">src/radio/radio-group.component.ts:296</a></div>
|
|
1664
|
+
</td>
|
|
1665
|
+
</tr>
|
|
1625
1666
|
|
|
1626
1667
|
|
|
1627
1668
|
<tr>
|
|
1628
1669
|
<td class="col-md-4">
|
|
1629
|
-
|
|
1670
|
+
<div class="io-description"><p>Use the value of the <code>RadioGroup</code> to update the selected radio to the right state (selected state).</p>
|
|
1630
1671
|
</div>
|
|
1631
1672
|
|
|
1632
|
-
|
|
1633
|
-
|
|
1673
|
+
<div class="io-description">
|
|
1674
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1634
1675
|
|
|
1635
|
-
|
|
1676
|
+
</div>
|
|
1636
1677
|
</td>
|
|
1637
1678
|
</tr>
|
|
1638
1679
|
</tbody>
|
|
@@ -1655,55 +1696,53 @@ Radio selected: {{radio}}</code></pre></div><div><pre class="line-numbers"><code
|
|
|
1655
1696
|
</tr>
|
|
1656
1697
|
|
|
1657
1698
|
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1699
|
+
<tr>
|
|
1700
|
+
<td class="col-md-4">
|
|
1701
|
+
<div class="io-line">Defined in <a href="" data-line="354"
|
|
1702
|
+
class="link-to-prism">src/radio/radio-group.component.ts:354</a></div>
|
|
1703
|
+
</td>
|
|
1704
|
+
</tr>
|
|
1664
1705
|
|
|
1665
1706
|
|
|
1666
1707
|
<tr>
|
|
1667
1708
|
<td class="col-md-4">
|
|
1668
|
-
|
|
1709
|
+
<div class="io-description"><p>Updates the value of the <code>RadioGroup</code> using the provided parameter.</p>
|
|
1669
1710
|
</div>
|
|
1670
1711
|
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
</div>
|
|
1712
|
+
<div class="io-description">
|
|
1713
|
+
<b>Parameters :</b>
|
|
1714
|
+
|
|
1715
|
+
<table class="params">
|
|
1716
|
+
<thead>
|
|
1717
|
+
<tr>
|
|
1718
|
+
<td>Name</td>
|
|
1719
|
+
<td>Type</td>
|
|
1720
|
+
<td>Optional</td>
|
|
1721
|
+
</tr>
|
|
1722
|
+
</thead>
|
|
1723
|
+
<tbody>
|
|
1724
|
+
<tr>
|
|
1725
|
+
<td>value</td>
|
|
1726
|
+
<td>
|
|
1727
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1728
|
+
</td>
|
|
1729
|
+
|
|
1730
|
+
<td>
|
|
1731
|
+
No
|
|
1732
|
+
</td>
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
</tr>
|
|
1736
|
+
</tbody>
|
|
1737
|
+
</table>
|
|
1738
|
+
</div>
|
|
1739
|
+
<div class="io-description">
|
|
1740
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1741
|
+
|
|
1742
|
+
</div>
|
|
1743
|
+
<div class="io-description">
|
|
1744
|
+
|
|
1745
|
+
</div>
|
|
1707
1746
|
</td>
|
|
1708
1747
|
</tr>
|
|
1709
1748
|
</tbody>
|
|
@@ -3034,6 +3073,19 @@ export class RadioGroup implements AfterContentInit, AfterViewInit, ControlValue
|
|
|
3034
3073
|
var MAX_SEARCH_RESULTS = 15;
|
|
3035
3074
|
</script>
|
|
3036
3075
|
|
|
3076
|
+
<script>
|
|
3077
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
3078
|
+
checkToggle(darkModeState);
|
|
3079
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
3080
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
3081
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
3082
|
+
darkModeState = !darkModeState;
|
|
3083
|
+
toggleDarkMode(darkModeState);
|
|
3084
|
+
});
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
</script>
|
|
3088
|
+
|
|
3037
3089
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
3038
3090
|
<script src="../js/libs/lit-html.js"></script>
|
|
3039
3091
|
|