carbon-components-angular 5.26.1 → 5.26.3
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/combobox/combobox.component.d.ts +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 +863 -793
- package/docs/documentation/components/ContainedList.html +112 -50
- package/docs/documentation/components/ContainedListItem.html +122 -60
- package/docs/documentation/components/ContentSwitcher.html +127 -65
- package/docs/documentation/components/ContextMenuComponent.html +167 -107
- package/docs/documentation/components/ContextMenuDividerComponent.html +69 -5
- package/docs/documentation/components/ContextMenuGroupComponent.html +127 -65
- package/docs/documentation/components/ContextMenuItemComponent.html +281 -221
- package/docs/documentation/components/DatePicker.html +743 -703
- package/docs/documentation/components/DatePickerInput.html +269 -215
- package/docs/documentation/components/Dialog.html +318 -264
- package/docs/documentation/components/Documentation.html +96 -32
- package/docs/documentation/components/Dropdown.html +661 -617
- package/docs/documentation/components/DropdownList.html +679 -639
- package/docs/documentation/components/ExpandableTile.html +99 -35
- package/docs/documentation/components/FileComponent.html +78 -14
- package/docs/documentation/components/FileUploader.html +475 -431
- package/docs/documentation/components/Hamburger.html +81 -17
- package/docs/documentation/components/Header.html +143 -83
- package/docs/documentation/components/HeaderAction.html +79 -15
- package/docs/documentation/components/HeaderGlobal.html +69 -5
- package/docs/documentation/components/HeaderItem.html +105 -43
- package/docs/documentation/components/HeaderMenu.html +200 -140
- package/docs/documentation/components/HeaderNavigation.html +69 -5
- package/docs/documentation/components/IconButton.html +138 -76
- package/docs/documentation/components/InlineLoading.html +70 -6
- package/docs/documentation/components/Label.html +129 -67
- package/docs/documentation/components/ListColumn.html +70 -6
- package/docs/documentation/components/ListHeader.html +90 -26
- package/docs/documentation/components/ListRow.html +166 -104
- package/docs/documentation/components/Loading.html +70 -6
- package/docs/documentation/components/Modal.html +191 -131
- package/docs/documentation/components/ModalFooter.html +69 -5
- package/docs/documentation/components/ModalHeader.html +83 -19
- package/docs/documentation/components/Notification.html +146 -84
- package/docs/documentation/components/NumberComponent.html +389 -337
- package/docs/documentation/components/OverflowMenu.html +110 -48
- package/docs/documentation/components/OverflowMenuCustomPane.html +398 -346
- package/docs/documentation/components/OverflowMenuOption.html +106 -42
- package/docs/documentation/components/OverflowMenuPane.html +426 -374
- package/docs/documentation/components/Overlay.html +106 -44
- package/docs/documentation/components/Pagination.html +73 -9
- package/docs/documentation/components/PaginationNav.html +188 -128
- package/docs/documentation/components/PaginationNavItem.html +71 -7
- package/docs/documentation/components/PaginationOverflow.html +107 -45
- package/docs/documentation/components/Panel.html +69 -5
- package/docs/documentation/components/PasswordInputLabelComponent.html +137 -75
- package/docs/documentation/components/Placeholder.html +80 -16
- package/docs/documentation/components/PopoverContent.html +78 -14
- package/docs/documentation/components/ProgressBar.html +106 -44
- package/docs/documentation/components/ProgressIndicator.html +216 -158
- package/docs/documentation/components/Radio.html +237 -181
- package/docs/documentation/components/RadioGroup.html +412 -360
- package/docs/documentation/components/Search.html +509 -463
- package/docs/documentation/components/Select.html +337 -285
- package/docs/documentation/components/SelectionTile.html +158 -98
- package/docs/documentation/components/SideNav.html +78 -14
- package/docs/documentation/components/SideNavItem.html +149 -89
- package/docs/documentation/components/SideNavMenu.html +107 -43
- package/docs/documentation/components/SkeletonPlaceholder.html +70 -6
- package/docs/documentation/components/SkeletonText.html +124 -62
- package/docs/documentation/components/Slider.html +840 -810
- package/docs/documentation/components/StructuredList.html +211 -153
- package/docs/documentation/components/SwitcherList.html +70 -6
- package/docs/documentation/components/SwitcherListItem.html +105 -43
- package/docs/documentation/components/Tab.html +267 -53
- package/docs/documentation/components/TabHeaderGroup.html +316 -260
- package/docs/documentation/components/TabHeaders.html +425 -373
- package/docs/documentation/components/TabSkeleton.html +69 -5
- package/docs/documentation/components/Table.html +973 -947
- package/docs/documentation/components/TableBody.html +241 -185
- package/docs/documentation/components/TableCheckbox.html +119 -57
- package/docs/documentation/components/TableContainer.html +78 -14
- package/docs/documentation/components/TableData.html +69 -5
- package/docs/documentation/components/TableExpandButton.html +78 -14
- package/docs/documentation/components/TableExpandedRow.html +141 -81
- package/docs/documentation/components/TableHead.html +124 -60
- package/docs/documentation/components/TableHeadCell.html +116 -52
- package/docs/documentation/components/TableHeadCheckbox.html +78 -14
- package/docs/documentation/components/TableHeadExpand.html +69 -5
- package/docs/documentation/components/TableHeader.html +69 -5
- package/docs/documentation/components/TableRadio.html +119 -57
- package/docs/documentation/components/TableRowComponent.html +123 -59
- package/docs/documentation/components/TableToolbar.html +79 -15
- package/docs/documentation/components/TableToolbarActions.html +69 -5
- package/docs/documentation/components/TableToolbarContent.html +69 -5
- package/docs/documentation/components/TableToolbarSearch.html +563 -517
- package/docs/documentation/components/Tabs.html +130 -68
- package/docs/documentation/components/Tag.html +70 -6
- package/docs/documentation/components/TagFilter.html +150 -90
- package/docs/documentation/components/TextInputLabelComponent.html +118 -56
- package/docs/documentation/components/TextareaLabelComponent.html +118 -56
- package/docs/documentation/components/Tile.html +70 -6
- package/docs/documentation/components/TileGroup.html +247 -191
- package/docs/documentation/components/TimePicker.html +321 -269
- package/docs/documentation/components/TimePickerSelect.html +382 -330
- package/docs/documentation/components/Toast.html +155 -93
- package/docs/documentation/components/Toggle.html +568 -522
- package/docs/documentation/components/Toggletip.html +491 -441
- package/docs/documentation/components/Tooltip.html +578 -534
- package/docs/documentation/components/TooltipDefinition.html +559 -513
- package/docs/documentation/components/TreeNodeComponent.html +353 -303
- package/docs/documentation/components/TreeViewComponent.html +155 -93
- package/docs/documentation/coverage.html +74 -10
- 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 +46 -50
- package/docs/documentation/modules/DatePickerModule.html +115 -55
- 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 +47 -43
- package/docs/documentation/modules/RadioModule.html +116 -48
- 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 +13 -13
- package/docs/documentation/modules/ThemeModule.html +82 -18
- package/docs/documentation/modules/TilesModule/dependencies.svg +101 -101
- package/docs/documentation/modules/TilesModule.html +170 -106
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +41 -45
- package/docs/documentation/modules/TimePickerModule.html +110 -50
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +45 -49
- package/docs/documentation/modules/TimePickerSelectModule.html +114 -54
- package/docs/documentation/modules/ToggleModule/dependencies.svg +26 -26
- package/docs/documentation/modules/ToggleModule.html +95 -31
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +37 -37
- package/docs/documentation/modules/ToggletipModule.html +106 -42
- package/docs/documentation/modules/TooltipModule.html +69 -5
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +35 -35
- package/docs/documentation/modules/TreeviewModule.html +104 -40
- package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
- package/docs/documentation/modules/UIShellModule.html +73 -9
- package/docs/documentation/modules/UtilsModule.html +69 -5
- package/docs/documentation/modules.html +68 -4
- package/docs/documentation/overview.html +68 -4
- package/docs/documentation/pipes/ReplacePipe.html +114 -52
- package/docs/documentation/properties.html +69 -5
- package/docs/documentation/styles/compodoc.css +11 -8
- package/docs/documentation.json +2237 -1918
- 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/combobox-combobox-stories.330abc6c.iframe.bundle.js +1 -0
- package/docs/storybook/iframe.html +3 -3
- package/docs/storybook/main.css +2 -4
- package/docs/storybook/main.d6e42b2b.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.b589439b.iframe.bundle.js → runtime~main.2319260a.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/combobox/combobox.component.mjs +9 -4
- package/esm2020/tabs/tab.component.mjs +20 -3
- package/fesm2015/carbon-components-angular-combobox.mjs +8 -3
- package/fesm2015/carbon-components-angular-combobox.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2015/carbon-components-angular-tabs.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-combobox.mjs +8 -3
- package/fesm2020/carbon-components-angular-combobox.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2020/carbon-components-angular-tabs.mjs.map +1 -1
- package/package.json +1 -1
- package/tabs/tab.component.d.ts +10 -1
- package/docs/storybook/combobox-combobox-stories.50d218fc.iframe.bundle.js +0 -1
- package/docs/storybook/main.5c20d10a.iframe.bundle.js +0 -1
- /package/docs/storybook/{959.4248791c.iframe.bundle.js.LICENSE.txt → 959.05fb42da.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -12,10 +12,61 @@
|
|
|
12
12
|
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
<script>
|
|
16
|
+
// Blocking script to avoid flickering dark mode
|
|
17
|
+
// Dark mode toggle button
|
|
18
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
19
|
+
var darkModeState = useDark.matches;
|
|
20
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
21
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
22
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
23
|
+
|
|
24
|
+
function checkToggle(check) {
|
|
25
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
26
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function toggleDarkMode(state) {
|
|
31
|
+
if (window.localStorage) {
|
|
32
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
checkToggle(state);
|
|
36
|
+
|
|
37
|
+
const hasClass = document.body.classList.contains('dark');
|
|
38
|
+
|
|
39
|
+
if (state) {
|
|
40
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
41
|
+
$darkModeToggles[i].classList.add('dark');
|
|
42
|
+
}
|
|
43
|
+
if (!hasClass) {
|
|
44
|
+
document.body.classList.add('dark');
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
48
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
49
|
+
}
|
|
50
|
+
if (hasClass) {
|
|
51
|
+
document.body.classList.remove('dark');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
useDark.addEventListener('change', function (evt) {
|
|
57
|
+
toggleDarkMode(evt.matches);
|
|
58
|
+
});
|
|
59
|
+
if (darkModeStateLocal) {
|
|
60
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
61
|
+
}
|
|
62
|
+
toggleDarkMode(darkModeState);
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
|
+
<div class="d-flex">
|
|
67
|
+
<a href="../" class="navbar-brand">carbon-components-angular documentation</a>
|
|
68
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
69
|
+
</div>
|
|
19
70
|
</div>
|
|
20
71
|
|
|
21
72
|
<div class="xs-menu menu" id="mobile-menu">
|
|
@@ -24,7 +75,7 @@
|
|
|
24
75
|
|
|
25
76
|
<div class="container-fluid main">
|
|
26
77
|
<div class="row main">
|
|
27
|
-
<div class="
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
28
79
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
29
80
|
</div>
|
|
30
81
|
<!-- START CONTENT -->
|
|
@@ -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 { NumberModule } from 'carbon-components-angular';</code></pre></div><p><a href="../../?path=/story/components-number--basic">See demo</a></p>
|
|
124
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { NumberModule } from 'carbon-components-angular';</code></pre></div><p><a href="../../?path=/story/components-number--basic">See demo</a></p>
|
|
74
125
|
|
|
75
126
|
</p>
|
|
76
127
|
|
|
@@ -1208,12 +1259,12 @@
|
|
|
1208
1259
|
</tr>
|
|
1209
1260
|
|
|
1210
1261
|
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1262
|
+
<tr>
|
|
1263
|
+
<td class="col-md-4">
|
|
1264
|
+
<div class="io-line">Defined in <a href="" data-line="299"
|
|
1265
|
+
class="link-to-prism">src/number-input/number.component.ts:299</a></div>
|
|
1266
|
+
</td>
|
|
1267
|
+
</tr>
|
|
1217
1268
|
|
|
1218
1269
|
|
|
1219
1270
|
</tbody>
|
|
@@ -1242,23 +1293,23 @@
|
|
|
1242
1293
|
</tr>
|
|
1243
1294
|
|
|
1244
1295
|
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1296
|
+
<tr>
|
|
1297
|
+
<td class="col-md-4">
|
|
1298
|
+
<div class="io-line">Defined in <a href="" data-line="353"
|
|
1299
|
+
class="link-to-prism">src/number-input/number.component.ts:353</a></div>
|
|
1300
|
+
</td>
|
|
1301
|
+
</tr>
|
|
1251
1302
|
|
|
1252
1303
|
|
|
1253
1304
|
<tr>
|
|
1254
1305
|
<td class="col-md-4">
|
|
1255
|
-
|
|
1306
|
+
<div class="io-description"><p>Creates a class of <code>NumberChange</code> to emit the change in the <code>Number</code>.</p>
|
|
1256
1307
|
</div>
|
|
1257
1308
|
|
|
1258
|
-
|
|
1259
|
-
|
|
1309
|
+
<div class="io-description">
|
|
1310
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1260
1311
|
|
|
1261
|
-
|
|
1312
|
+
</div>
|
|
1262
1313
|
</td>
|
|
1263
1314
|
</tr>
|
|
1264
1315
|
</tbody>
|
|
@@ -1269,7 +1320,7 @@
|
|
|
1269
1320
|
<td class="col-md-4">
|
|
1270
1321
|
<a name="focusOut"></a>
|
|
1271
1322
|
<span class="name">
|
|
1272
|
-
|
|
1323
|
+
<span class="modifier"></span>
|
|
1273
1324
|
<span ><b>focusOut</b></span>
|
|
1274
1325
|
<a href="#focusOut"><span class="icon ion-ios-link"></span></a>
|
|
1275
1326
|
</span>
|
|
@@ -1277,7 +1328,7 @@
|
|
|
1277
1328
|
</tr>
|
|
1278
1329
|
<tr>
|
|
1279
1330
|
<td class="col-md-4">
|
|
1280
|
-
|
|
1331
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1281
1332
|
<code>focusOut()</code>
|
|
1282
1333
|
</td>
|
|
1283
1334
|
</tr>
|
|
@@ -1290,21 +1341,21 @@
|
|
|
1290
1341
|
</td>
|
|
1291
1342
|
</tr>
|
|
1292
1343
|
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1344
|
+
<tr>
|
|
1345
|
+
<td class="col-md-4">
|
|
1346
|
+
<div class="io-line">Defined in <a href="" data-line="299"
|
|
1347
|
+
class="link-to-prism">src/number-input/number.component.ts:299</a></div>
|
|
1348
|
+
</td>
|
|
1349
|
+
</tr>
|
|
1299
1350
|
|
|
1300
1351
|
|
|
1301
1352
|
<tr>
|
|
1302
1353
|
<td class="col-md-4">
|
|
1303
1354
|
|
|
1304
|
-
|
|
1305
|
-
|
|
1355
|
+
<div class="io-description">
|
|
1356
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1306
1357
|
|
|
1307
|
-
|
|
1358
|
+
</div>
|
|
1308
1359
|
</td>
|
|
1309
1360
|
</tr>
|
|
1310
1361
|
</tbody>
|
|
@@ -1327,21 +1378,21 @@
|
|
|
1327
1378
|
</tr>
|
|
1328
1379
|
|
|
1329
1380
|
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1381
|
+
<tr>
|
|
1382
|
+
<td class="col-md-4">
|
|
1383
|
+
<div class="io-line">Defined in <a href="" data-line="342"
|
|
1384
|
+
class="link-to-prism">src/number-input/number.component.ts:342</a></div>
|
|
1385
|
+
</td>
|
|
1386
|
+
</tr>
|
|
1336
1387
|
|
|
1337
1388
|
|
|
1338
1389
|
<tr>
|
|
1339
1390
|
<td class="col-md-4">
|
|
1340
1391
|
|
|
1341
|
-
|
|
1342
|
-
|
|
1392
|
+
<div class="io-description">
|
|
1393
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
1343
1394
|
|
|
1344
|
-
|
|
1395
|
+
</div>
|
|
1345
1396
|
</td>
|
|
1346
1397
|
</tr>
|
|
1347
1398
|
</tbody>
|
|
@@ -1364,21 +1415,21 @@
|
|
|
1364
1415
|
</tr>
|
|
1365
1416
|
|
|
1366
1417
|
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1418
|
+
<tr>
|
|
1419
|
+
<td class="col-md-4">
|
|
1420
|
+
<div class="io-line">Defined in <a href="" data-line="346"
|
|
1421
|
+
class="link-to-prism">src/number-input/number.component.ts:346</a></div>
|
|
1422
|
+
</td>
|
|
1423
|
+
</tr>
|
|
1373
1424
|
|
|
1374
1425
|
|
|
1375
1426
|
<tr>
|
|
1376
1427
|
<td class="col-md-4">
|
|
1377
1428
|
|
|
1378
|
-
|
|
1379
|
-
|
|
1429
|
+
<div class="io-description">
|
|
1430
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
1380
1431
|
|
|
1381
|
-
|
|
1432
|
+
</div>
|
|
1382
1433
|
</td>
|
|
1383
1434
|
</tr>
|
|
1384
1435
|
</tbody>
|
|
@@ -1389,7 +1440,7 @@
|
|
|
1389
1440
|
<td class="col-md-4">
|
|
1390
1441
|
<a name="isTemplate"></a>
|
|
1391
1442
|
<span class="name">
|
|
1392
|
-
|
|
1443
|
+
<span class="modifier">Public</span>
|
|
1393
1444
|
<span ><b>isTemplate</b></span>
|
|
1394
1445
|
<a href="#isTemplate"><span class="icon ion-ios-link"></span></a>
|
|
1395
1446
|
</span>
|
|
@@ -1397,55 +1448,53 @@
|
|
|
1397
1448
|
</tr>
|
|
1398
1449
|
<tr>
|
|
1399
1450
|
<td class="col-md-4">
|
|
1400
|
-
|
|
1451
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1401
1452
|
<code>isTemplate(value)</code>
|
|
1402
1453
|
</td>
|
|
1403
1454
|
</tr>
|
|
1404
1455
|
|
|
1405
1456
|
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1457
|
+
<tr>
|
|
1458
|
+
<td class="col-md-4">
|
|
1459
|
+
<div class="io-line">Defined in <a href="" data-line="366"
|
|
1460
|
+
class="link-to-prism">src/number-input/number.component.ts:366</a></div>
|
|
1461
|
+
</td>
|
|
1462
|
+
</tr>
|
|
1412
1463
|
|
|
1413
1464
|
|
|
1414
1465
|
<tr>
|
|
1415
1466
|
<td class="col-md-4">
|
|
1416
1467
|
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
</div>
|
|
1468
|
+
<div class="io-description">
|
|
1469
|
+
<b>Parameters :</b>
|
|
1470
|
+
|
|
1471
|
+
<table class="params">
|
|
1472
|
+
<thead>
|
|
1473
|
+
<tr>
|
|
1474
|
+
<td>Name</td>
|
|
1475
|
+
<td>Optional</td>
|
|
1476
|
+
</tr>
|
|
1477
|
+
</thead>
|
|
1478
|
+
<tbody>
|
|
1479
|
+
<tr>
|
|
1480
|
+
<td>value</td>
|
|
1481
|
+
|
|
1482
|
+
<td>
|
|
1483
|
+
No
|
|
1484
|
+
</td>
|
|
1485
|
+
|
|
1486
|
+
|
|
1487
|
+
</tr>
|
|
1488
|
+
</tbody>
|
|
1489
|
+
</table>
|
|
1490
|
+
</div>
|
|
1491
|
+
<div class="io-description">
|
|
1492
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1493
|
+
|
|
1494
|
+
</div>
|
|
1495
|
+
<div class="io-description">
|
|
1496
|
+
|
|
1497
|
+
</div>
|
|
1449
1498
|
</td>
|
|
1450
1499
|
</tr>
|
|
1451
1500
|
</tbody>
|
|
@@ -1468,23 +1517,23 @@
|
|
|
1468
1517
|
</tr>
|
|
1469
1518
|
|
|
1470
1519
|
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1520
|
+
<tr>
|
|
1521
|
+
<td class="col-md-4">
|
|
1522
|
+
<div class="io-line">Defined in <a href="" data-line="334"
|
|
1523
|
+
class="link-to-prism">src/number-input/number.component.ts:334</a></div>
|
|
1524
|
+
</td>
|
|
1525
|
+
</tr>
|
|
1477
1526
|
|
|
1478
1527
|
|
|
1479
1528
|
<tr>
|
|
1480
1529
|
<td class="col-md-4">
|
|
1481
|
-
|
|
1530
|
+
<div class="io-description"><p>Subtracts <code>step</code> to the current <code>value</code>.</p>
|
|
1482
1531
|
</div>
|
|
1483
1532
|
|
|
1484
|
-
|
|
1485
|
-
|
|
1533
|
+
<div class="io-description">
|
|
1534
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1486
1535
|
|
|
1487
|
-
|
|
1536
|
+
</div>
|
|
1488
1537
|
</td>
|
|
1489
1538
|
</tr>
|
|
1490
1539
|
</tbody>
|
|
@@ -1507,23 +1556,23 @@
|
|
|
1507
1556
|
</tr>
|
|
1508
1557
|
|
|
1509
1558
|
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1559
|
+
<tr>
|
|
1560
|
+
<td class="col-md-4">
|
|
1561
|
+
<div class="io-line">Defined in <a href="" data-line="323"
|
|
1562
|
+
class="link-to-prism">src/number-input/number.component.ts:323</a></div>
|
|
1563
|
+
</td>
|
|
1564
|
+
</tr>
|
|
1516
1565
|
|
|
1517
1566
|
|
|
1518
1567
|
<tr>
|
|
1519
1568
|
<td class="col-md-4">
|
|
1520
|
-
|
|
1569
|
+
<div class="io-description"><p>Adds <code>step</code> to the current <code>value</code>.</p>
|
|
1521
1570
|
</div>
|
|
1522
1571
|
|
|
1523
|
-
|
|
1524
|
-
|
|
1572
|
+
<div class="io-description">
|
|
1573
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1525
1574
|
|
|
1526
|
-
|
|
1575
|
+
</div>
|
|
1527
1576
|
</td>
|
|
1528
1577
|
</tr>
|
|
1529
1578
|
</tbody>
|
|
@@ -1546,49 +1595,47 @@
|
|
|
1546
1595
|
</tr>
|
|
1547
1596
|
|
|
1548
1597
|
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1598
|
+
<tr>
|
|
1599
|
+
<td class="col-md-4">
|
|
1600
|
+
<div class="io-line">Defined in <a href="" data-line="361"
|
|
1601
|
+
class="link-to-prism">src/number-input/number.component.ts:361</a></div>
|
|
1602
|
+
</td>
|
|
1603
|
+
</tr>
|
|
1555
1604
|
|
|
1556
1605
|
|
|
1557
1606
|
<tr>
|
|
1558
1607
|
<td class="col-md-4">
|
|
1559
1608
|
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
</div>
|
|
1609
|
+
<div class="io-description">
|
|
1610
|
+
<b>Parameters :</b>
|
|
1611
|
+
|
|
1612
|
+
<table class="params">
|
|
1613
|
+
<thead>
|
|
1614
|
+
<tr>
|
|
1615
|
+
<td>Name</td>
|
|
1616
|
+
<td>Optional</td>
|
|
1617
|
+
</tr>
|
|
1618
|
+
</thead>
|
|
1619
|
+
<tbody>
|
|
1620
|
+
<tr>
|
|
1621
|
+
<td>event</td>
|
|
1622
|
+
|
|
1623
|
+
<td>
|
|
1624
|
+
No
|
|
1625
|
+
</td>
|
|
1626
|
+
|
|
1627
|
+
|
|
1628
|
+
</tr>
|
|
1629
|
+
</tbody>
|
|
1630
|
+
</table>
|
|
1631
|
+
</div>
|
|
1632
|
+
<div class="io-description">
|
|
1633
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1634
|
+
|
|
1635
|
+
</div>
|
|
1636
|
+
<div class="io-description">
|
|
1637
|
+
|
|
1638
|
+
</div>
|
|
1592
1639
|
</td>
|
|
1593
1640
|
</tr>
|
|
1594
1641
|
</tbody>
|
|
@@ -1599,7 +1646,7 @@
|
|
|
1599
1646
|
<td class="col-md-4">
|
|
1600
1647
|
<a name="registerOnChange"></a>
|
|
1601
1648
|
<span class="name">
|
|
1602
|
-
|
|
1649
|
+
<span class="modifier">Public</span>
|
|
1603
1650
|
<span ><b>registerOnChange</b></span>
|
|
1604
1651
|
<a href="#registerOnChange"><span class="icon ion-ios-link"></span></a>
|
|
1605
1652
|
</span>
|
|
@@ -1607,61 +1654,59 @@
|
|
|
1607
1654
|
</tr>
|
|
1608
1655
|
<tr>
|
|
1609
1656
|
<td class="col-md-4">
|
|
1610
|
-
|
|
1657
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1611
1658
|
<code>registerOnChange(fn: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
1612
1659
|
</td>
|
|
1613
1660
|
</tr>
|
|
1614
1661
|
|
|
1615
1662
|
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1663
|
+
<tr>
|
|
1664
|
+
<td class="col-md-4">
|
|
1665
|
+
<div class="io-line">Defined in <a href="" data-line="286"
|
|
1666
|
+
class="link-to-prism">src/number-input/number.component.ts:286</a></div>
|
|
1667
|
+
</td>
|
|
1668
|
+
</tr>
|
|
1622
1669
|
|
|
1623
1670
|
|
|
1624
1671
|
<tr>
|
|
1625
1672
|
<td class="col-md-4">
|
|
1626
|
-
|
|
1673
|
+
<div class="io-description"><p>Sets a method in order to propagate changes back to the form.</p>
|
|
1627
1674
|
</div>
|
|
1628
1675
|
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
</div>
|
|
1676
|
+
<div class="io-description">
|
|
1677
|
+
<b>Parameters :</b>
|
|
1678
|
+
|
|
1679
|
+
<table class="params">
|
|
1680
|
+
<thead>
|
|
1681
|
+
<tr>
|
|
1682
|
+
<td>Name</td>
|
|
1683
|
+
<td>Type</td>
|
|
1684
|
+
<td>Optional</td>
|
|
1685
|
+
</tr>
|
|
1686
|
+
</thead>
|
|
1687
|
+
<tbody>
|
|
1688
|
+
<tr>
|
|
1689
|
+
<td>fn</td>
|
|
1690
|
+
<td>
|
|
1691
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1692
|
+
</td>
|
|
1693
|
+
|
|
1694
|
+
<td>
|
|
1695
|
+
No
|
|
1696
|
+
</td>
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
</tr>
|
|
1700
|
+
</tbody>
|
|
1701
|
+
</table>
|
|
1702
|
+
</div>
|
|
1703
|
+
<div class="io-description">
|
|
1704
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1705
|
+
|
|
1706
|
+
</div>
|
|
1707
|
+
<div class="io-description">
|
|
1708
|
+
|
|
1709
|
+
</div>
|
|
1665
1710
|
</td>
|
|
1666
1711
|
</tr>
|
|
1667
1712
|
</tbody>
|
|
@@ -1672,7 +1717,7 @@
|
|
|
1672
1717
|
<td class="col-md-4">
|
|
1673
1718
|
<a name="registerOnTouched"></a>
|
|
1674
1719
|
<span class="name">
|
|
1675
|
-
|
|
1720
|
+
<span class="modifier">Public</span>
|
|
1676
1721
|
<span ><b>registerOnTouched</b></span>
|
|
1677
1722
|
<a href="#registerOnTouched"><span class="icon ion-ios-link"></span></a>
|
|
1678
1723
|
</span>
|
|
@@ -1680,66 +1725,64 @@
|
|
|
1680
1725
|
</tr>
|
|
1681
1726
|
<tr>
|
|
1682
1727
|
<td class="col-md-4">
|
|
1683
|
-
|
|
1728
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1684
1729
|
<code>registerOnTouched(fn: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
1685
1730
|
</td>
|
|
1686
1731
|
</tr>
|
|
1687
1732
|
|
|
1688
1733
|
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1734
|
+
<tr>
|
|
1735
|
+
<td class="col-md-4">
|
|
1736
|
+
<div class="io-line">Defined in <a href="" data-line="294"
|
|
1737
|
+
class="link-to-prism">src/number-input/number.component.ts:294</a></div>
|
|
1738
|
+
</td>
|
|
1739
|
+
</tr>
|
|
1695
1740
|
|
|
1696
1741
|
|
|
1697
1742
|
<tr>
|
|
1698
1743
|
<td class="col-md-4">
|
|
1699
|
-
|
|
1744
|
+
<div class="io-description"><p>Registers a callback to be triggered when the control has been touched.</p>
|
|
1700
1745
|
</div>
|
|
1701
1746
|
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
</div>
|
|
1747
|
+
<div class="io-description">
|
|
1748
|
+
<b>Parameters :</b>
|
|
1749
|
+
|
|
1750
|
+
<table class="params">
|
|
1751
|
+
<thead>
|
|
1752
|
+
<tr>
|
|
1753
|
+
<td>Name</td>
|
|
1754
|
+
<td>Type</td>
|
|
1755
|
+
<td>Optional</td>
|
|
1756
|
+
<td>Description</td>
|
|
1757
|
+
</tr>
|
|
1758
|
+
</thead>
|
|
1759
|
+
<tbody>
|
|
1760
|
+
<tr>
|
|
1761
|
+
<td>fn</td>
|
|
1762
|
+
<td>
|
|
1763
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1764
|
+
</td>
|
|
1765
|
+
|
|
1766
|
+
<td>
|
|
1767
|
+
No
|
|
1768
|
+
</td>
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
<td>
|
|
1772
|
+
<p>Callback to be triggered when the number input is touched.</p>
|
|
1773
|
+
|
|
1774
|
+
</td>
|
|
1775
|
+
</tr>
|
|
1776
|
+
</tbody>
|
|
1777
|
+
</table>
|
|
1778
|
+
</div>
|
|
1779
|
+
<div class="io-description">
|
|
1780
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1781
|
+
|
|
1782
|
+
</div>
|
|
1783
|
+
<div class="io-description">
|
|
1784
|
+
|
|
1785
|
+
</div>
|
|
1743
1786
|
</td>
|
|
1744
1787
|
</tr>
|
|
1745
1788
|
</tbody>
|
|
@@ -1762,55 +1805,53 @@
|
|
|
1762
1805
|
</tr>
|
|
1763
1806
|
|
|
1764
1807
|
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1808
|
+
<tr>
|
|
1809
|
+
<td class="col-md-4">
|
|
1810
|
+
<div class="io-line">Defined in <a href="" data-line="306"
|
|
1811
|
+
class="link-to-prism">src/number-input/number.component.ts:306</a></div>
|
|
1812
|
+
</td>
|
|
1813
|
+
</tr>
|
|
1771
1814
|
|
|
1772
1815
|
|
|
1773
1816
|
<tr>
|
|
1774
1817
|
<td class="col-md-4">
|
|
1775
|
-
|
|
1818
|
+
<div class="io-description"><p>Sets the disabled state through the model</p>
|
|
1776
1819
|
</div>
|
|
1777
1820
|
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
</div>
|
|
1821
|
+
<div class="io-description">
|
|
1822
|
+
<b>Parameters :</b>
|
|
1823
|
+
|
|
1824
|
+
<table class="params">
|
|
1825
|
+
<thead>
|
|
1826
|
+
<tr>
|
|
1827
|
+
<td>Name</td>
|
|
1828
|
+
<td>Type</td>
|
|
1829
|
+
<td>Optional</td>
|
|
1830
|
+
</tr>
|
|
1831
|
+
</thead>
|
|
1832
|
+
<tbody>
|
|
1833
|
+
<tr>
|
|
1834
|
+
<td>isDisabled</td>
|
|
1835
|
+
<td>
|
|
1836
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1837
|
+
</td>
|
|
1838
|
+
|
|
1839
|
+
<td>
|
|
1840
|
+
No
|
|
1841
|
+
</td>
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
</tr>
|
|
1845
|
+
</tbody>
|
|
1846
|
+
</table>
|
|
1847
|
+
</div>
|
|
1848
|
+
<div class="io-description">
|
|
1849
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1850
|
+
|
|
1851
|
+
</div>
|
|
1852
|
+
<div class="io-description">
|
|
1853
|
+
|
|
1854
|
+
</div>
|
|
1814
1855
|
</td>
|
|
1815
1856
|
</tr>
|
|
1816
1857
|
</tbody>
|
|
@@ -1821,7 +1862,7 @@
|
|
|
1821
1862
|
<td class="col-md-4">
|
|
1822
1863
|
<a name="writeValue"></a>
|
|
1823
1864
|
<span class="name">
|
|
1824
|
-
|
|
1865
|
+
<span class="modifier">Public</span>
|
|
1825
1866
|
<span ><b>writeValue</b></span>
|
|
1826
1867
|
<a href="#writeValue"><span class="icon ion-ios-link"></span></a>
|
|
1827
1868
|
</span>
|
|
@@ -1829,66 +1870,64 @@
|
|
|
1829
1870
|
</tr>
|
|
1830
1871
|
<tr>
|
|
1831
1872
|
<td class="col-md-4">
|
|
1832
|
-
|
|
1873
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1833
1874
|
<code>writeValue(value: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
1834
1875
|
</td>
|
|
1835
1876
|
</tr>
|
|
1836
1877
|
|
|
1837
1878
|
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1879
|
+
<tr>
|
|
1880
|
+
<td class="col-md-4">
|
|
1881
|
+
<div class="io-line">Defined in <a href="" data-line="279"
|
|
1882
|
+
class="link-to-prism">src/number-input/number.component.ts:279</a></div>
|
|
1883
|
+
</td>
|
|
1884
|
+
</tr>
|
|
1844
1885
|
|
|
1845
1886
|
|
|
1846
1887
|
<tr>
|
|
1847
1888
|
<td class="col-md-4">
|
|
1848
|
-
|
|
1889
|
+
<div class="io-description"><p>This is the initial value set to the component</p>
|
|
1849
1890
|
</div>
|
|
1850
1891
|
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
</div>
|
|
1892
|
+
<div class="io-description">
|
|
1893
|
+
<b>Parameters :</b>
|
|
1894
|
+
|
|
1895
|
+
<table class="params">
|
|
1896
|
+
<thead>
|
|
1897
|
+
<tr>
|
|
1898
|
+
<td>Name</td>
|
|
1899
|
+
<td>Type</td>
|
|
1900
|
+
<td>Optional</td>
|
|
1901
|
+
<td>Description</td>
|
|
1902
|
+
</tr>
|
|
1903
|
+
</thead>
|
|
1904
|
+
<tbody>
|
|
1905
|
+
<tr>
|
|
1906
|
+
<td>value</td>
|
|
1907
|
+
<td>
|
|
1908
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1909
|
+
</td>
|
|
1910
|
+
|
|
1911
|
+
<td>
|
|
1912
|
+
No
|
|
1913
|
+
</td>
|
|
1914
|
+
|
|
1915
|
+
|
|
1916
|
+
<td>
|
|
1917
|
+
<p>The input value.</p>
|
|
1918
|
+
|
|
1919
|
+
</td>
|
|
1920
|
+
</tr>
|
|
1921
|
+
</tbody>
|
|
1922
|
+
</table>
|
|
1923
|
+
</div>
|
|
1924
|
+
<div class="io-description">
|
|
1925
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1926
|
+
|
|
1927
|
+
</div>
|
|
1928
|
+
<div class="io-description">
|
|
1929
|
+
|
|
1930
|
+
</div>
|
|
1892
1931
|
</td>
|
|
1893
1932
|
</tr>
|
|
1894
1933
|
</tbody>
|
|
@@ -2809,6 +2848,19 @@ export { NumberComponent as Number };
|
|
|
2809
2848
|
var MAX_SEARCH_RESULTS = 15;
|
|
2810
2849
|
</script>
|
|
2811
2850
|
|
|
2851
|
+
<script>
|
|
2852
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
2853
|
+
checkToggle(darkModeState);
|
|
2854
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
2855
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
2856
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
2857
|
+
darkModeState = !darkModeState;
|
|
2858
|
+
toggleDarkMode(darkModeState);
|
|
2859
|
+
});
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
</script>
|
|
2863
|
+
|
|
2812
2864
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
2813
2865
|
<script src="../js/libs/lit-html.js"></script>
|
|
2814
2866
|
|