carbon-components-angular 5.56.6 → 5.57.1
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 +23 -6
- package/combo-button/combo-button.component.d.ts +99 -0
- package/combo-button/combo-button.module.d.ts +31 -0
- package/combo-button/index.d.ts +22 -0
- package/context-menu/context-menu-divider.component.d.ts +1 -1
- package/context-menu/context-menu-group.component.d.ts +1 -1
- package/context-menu/context-menu-item.component.d.ts +6 -1
- package/context-menu/context-menu.component.d.ts +11 -7
- package/context-menu/context-menu.types.d.ts +27 -0
- package/context-menu/index.d.ts +1 -0
- package/docs/documentation/components/Accordion.html +1 -1
- package/docs/documentation/components/AccordionItem.html +1 -1
- package/docs/documentation/components/ActionableNotification.html +1 -1
- package/docs/documentation/components/AlertModal.html +1 -1
- package/docs/documentation/components/BaseIconButton.html +1 -1
- package/docs/documentation/components/BaseNotification.html +1 -1
- package/docs/documentation/components/BaseTabHeader.html +1 -1
- package/docs/documentation/components/Breadcrumb.html +1 -1
- package/docs/documentation/components/BreadcrumbItemComponent.html +1 -1
- package/docs/documentation/components/ButtonSet.html +1 -1
- package/docs/documentation/components/Checkbox.html +1 -1
- package/docs/documentation/components/ClickableTile.html +1 -1
- package/docs/documentation/components/CodeSnippet.html +1 -1
- package/docs/documentation/components/ComboBox.html +1 -1
- package/docs/documentation/components/ComboButtonComponent.html +2264 -0
- package/docs/documentation/components/ContainedList.html +1 -1
- package/docs/documentation/components/ContainedListItem.html +1 -1
- package/docs/documentation/components/ContentSwitcher.html +1 -1
- package/docs/documentation/components/ContextMenuComponent.html +147 -164
- package/docs/documentation/components/ContextMenuDividerComponent.html +3 -3
- package/docs/documentation/components/ContextMenuGroupComponent.html +4 -4
- package/docs/documentation/components/ContextMenuItemComponent.html +218 -66
- package/docs/documentation/components/DatePicker.html +1 -1
- package/docs/documentation/components/DatePickerInput.html +1 -1
- package/docs/documentation/components/Dialog.html +1 -1
- package/docs/documentation/components/Documentation.html +1 -1
- package/docs/documentation/components/Dropdown.html +1 -1
- package/docs/documentation/components/DropdownList.html +1 -1
- package/docs/documentation/components/ExpandableTile.html +1 -1
- package/docs/documentation/components/FileComponent.html +1 -1
- package/docs/documentation/components/FileUploader.html +1 -1
- package/docs/documentation/components/Hamburger.html +1 -1
- package/docs/documentation/components/Header.html +1 -1
- package/docs/documentation/components/HeaderAction.html +1 -1
- package/docs/documentation/components/HeaderGlobal.html +1 -1
- package/docs/documentation/components/HeaderItem.html +1 -1
- package/docs/documentation/components/HeaderMenu.html +1 -1
- package/docs/documentation/components/HeaderNavigation.html +1 -1
- package/docs/documentation/components/IconButton.html +1 -1
- package/docs/documentation/components/InlineLoading.html +1 -1
- package/docs/documentation/components/Label.html +1 -1
- package/docs/documentation/components/ListColumn.html +1 -1
- package/docs/documentation/components/ListHeader.html +1 -1
- package/docs/documentation/components/ListRow.html +1 -1
- package/docs/documentation/components/Loading.html +1 -1
- package/docs/documentation/components/MenuButtonComponent.html +1931 -0
- package/docs/documentation/components/Modal.html +1 -1
- package/docs/documentation/components/ModalFooter.html +1 -1
- package/docs/documentation/components/ModalHeader.html +1 -1
- package/docs/documentation/components/Notification.html +1 -1
- package/docs/documentation/components/NumberComponent.html +1 -1
- package/docs/documentation/components/OverflowMenu.html +1 -1
- package/docs/documentation/components/OverflowMenuCustomPane.html +1 -1
- package/docs/documentation/components/OverflowMenuOption.html +1 -1
- package/docs/documentation/components/OverflowMenuPane.html +1 -1
- package/docs/documentation/components/Overlay.html +1 -1
- package/docs/documentation/components/Pagination.html +1 -1
- package/docs/documentation/components/PaginationNav.html +1 -1
- package/docs/documentation/components/PaginationNavItem.html +1 -1
- package/docs/documentation/components/PaginationOverflow.html +1 -1
- package/docs/documentation/components/Panel.html +1 -1
- package/docs/documentation/components/PasswordInputLabelComponent.html +1 -1
- package/docs/documentation/components/Placeholder.html +1 -1
- package/docs/documentation/components/PopoverContent.html +1 -1
- package/docs/documentation/components/ProgressBar.html +1 -1
- package/docs/documentation/components/ProgressIndicator.html +1 -1
- package/docs/documentation/components/Radio.html +1 -1
- package/docs/documentation/components/RadioGroup.html +1 -1
- package/docs/documentation/components/Search.html +1 -1
- package/docs/documentation/components/Select.html +1 -1
- package/docs/documentation/components/SelectionTile.html +1 -1
- package/docs/documentation/components/SideNav.html +1 -1
- package/docs/documentation/components/SideNavItem.html +1 -1
- package/docs/documentation/components/SideNavMenu.html +1 -1
- package/docs/documentation/components/SkeletonPlaceholder.html +1 -1
- package/docs/documentation/components/SkeletonText.html +1 -1
- package/docs/documentation/components/Slider.html +1 -1
- package/docs/documentation/components/StructuredList.html +1 -1
- package/docs/documentation/components/SwitcherList.html +1 -1
- package/docs/documentation/components/SwitcherListItem.html +1 -1
- package/docs/documentation/components/Tab.html +1 -1
- package/docs/documentation/components/TabHeaderGroup.html +1 -1
- package/docs/documentation/components/TabHeaders.html +1 -1
- package/docs/documentation/components/TabSkeleton.html +1 -1
- package/docs/documentation/components/Table.html +1 -1
- package/docs/documentation/components/TableBody.html +1 -1
- package/docs/documentation/components/TableCheckbox.html +1 -1
- package/docs/documentation/components/TableContainer.html +1 -1
- package/docs/documentation/components/TableData.html +1 -1
- package/docs/documentation/components/TableExpandButton.html +1 -1
- package/docs/documentation/components/TableExpandedRow.html +1 -1
- package/docs/documentation/components/TableHead.html +1 -1
- package/docs/documentation/components/TableHeadCell.html +1 -1
- package/docs/documentation/components/TableHeadCheckbox.html +1 -1
- package/docs/documentation/components/TableHeadExpand.html +1 -1
- package/docs/documentation/components/TableHeader.html +1 -1
- package/docs/documentation/components/TableRadio.html +1 -1
- package/docs/documentation/components/TableRowComponent.html +1 -1
- package/docs/documentation/components/TableToolbar.html +1 -1
- package/docs/documentation/components/TableToolbarActions.html +1 -1
- package/docs/documentation/components/TableToolbarContent.html +1 -1
- package/docs/documentation/components/TableToolbarSearch.html +1 -1
- package/docs/documentation/components/Tabs.html +1 -1
- package/docs/documentation/components/Tag.html +1 -1
- package/docs/documentation/components/TagFilter.html +1 -1
- package/docs/documentation/components/TagOperationalComponent.html +1 -1
- package/docs/documentation/components/TagSelectableComponent.html +1 -1
- package/docs/documentation/components/TextInputLabelComponent.html +1 -1
- package/docs/documentation/components/TextareaLabelComponent.html +1 -1
- package/docs/documentation/components/Tile.html +1 -1
- package/docs/documentation/components/TileGroup.html +1 -1
- package/docs/documentation/components/TimePicker.html +1 -1
- package/docs/documentation/components/TimePickerSelect.html +1 -1
- package/docs/documentation/components/Toast.html +1 -1
- package/docs/documentation/components/Toggle.html +1 -1
- package/docs/documentation/components/Toggletip.html +4 -4
- package/docs/documentation/components/Tooltip.html +1 -1
- package/docs/documentation/components/TooltipDefinition.html +1 -1
- package/docs/documentation/components/TreeNodeComponent.html +1 -1
- package/docs/documentation/components/TreeViewComponent.html +1 -1
- package/docs/documentation/coverage.html +40 -4
- package/docs/documentation/dependencies.html +1 -1
- package/docs/documentation/graph/dependencies.svg +3058 -2934
- package/docs/documentation/index.html +17 -6
- package/docs/documentation/interfaces/ItemClickEvent.html +437 -0
- package/docs/documentation/js/menu-wc.js +37 -0
- package/docs/documentation/js/menu-wc_es5.js +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/miscellaneous/typealiases.html +42 -0
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +4 -4
- package/docs/documentation/modules/ComboButtonModule/dependencies.svg +106 -0
- package/docs/documentation/modules/ComboButtonModule.html +397 -0
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +4 -4
- package/docs/documentation/modules/DatePickerInputModule.html +4 -4
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +4 -4
- package/docs/documentation/modules/DatePickerModule.html +4 -4
- package/docs/documentation/modules/GridModule/dependencies.svg +60 -60
- package/docs/documentation/modules/GridModule.html +60 -60
- package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LoadingModule.html +4 -4
- package/docs/documentation/modules/MenuButtonModule/dependencies.svg +106 -0
- package/docs/documentation/modules/MenuButtonModule.html +398 -0
- package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NumberModule.html +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
- package/docs/documentation/modules/RadioModule/dependencies.svg +62 -58
- package/docs/documentation/modules/RadioModule.html +62 -58
- package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SearchModule.html +4 -4
- package/docs/documentation/modules/SelectModule/dependencies.svg +43 -43
- package/docs/documentation/modules/SelectModule.html +43 -43
- package/docs/documentation/modules/SliderModule/dependencies.svg +6 -6
- package/docs/documentation/modules/SliderModule.html +6 -6
- package/docs/documentation/modules/TagModule/dependencies.svg +37 -37
- package/docs/documentation/modules/TagModule.html +37 -37
- package/docs/documentation/modules/TilesModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TilesModule.html +4 -4
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +6 -6
- package/docs/documentation/modules/TimePickerModule.html +6 -6
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerSelectModule.html +4 -4
- package/docs/documentation/modules/ToggleModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggleModule.html +4 -4
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +39 -39
- package/docs/documentation/modules/ToggletipModule.html +39 -39
- package/docs/documentation/modules/TooltipModule/dependencies.svg +29 -29
- package/docs/documentation/modules/TooltipModule.html +29 -29
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +36 -36
- package/docs/documentation/modules/TreeviewModule.html +36 -36
- package/docs/documentation/modules.html +34 -0
- package/docs/documentation/overview.html +3061 -2937
- package/docs/documentation.json +1937 -498
- package/docs/storybook/1125.37c137fa.iframe.bundle.js +1 -0
- package/docs/storybook/4292.3a543fed.iframe.bundle.js +1 -0
- package/docs/storybook/6702.f2acb76e.iframe.bundle.js +1 -0
- package/docs/storybook/combo-button-combo-button-stories.17bfb9ad.iframe.bundle.js +1 -0
- package/docs/storybook/context-menu-context-menu-stories.eb5edb41.iframe.bundle.js +1 -0
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/index.json +1 -1
- package/docs/storybook/main.d513967b.iframe.bundle.js +1 -0
- package/docs/storybook/menu-button-menu-button-stories.869bfd47.iframe.bundle.js +1 -0
- package/docs/storybook/popover-popover-stories.ea5149e0.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/runtime~main.6e5bcadd.iframe.bundle.js +1 -0
- package/docs/storybook/stories.json +1 -1
- package/docs/storybook/tag-tag-stories.7b925787.iframe.bundle.js +1 -0
- package/docs/storybook/{toggletip-toggletip-stories.f20fbe75.iframe.bundle.js → toggletip-toggletip-stories.44da6843.iframe.bundle.js} +1 -1
- package/esm2020/combo-button/carbon-components-angular-combo-button.mjs +5 -0
- package/esm2020/combo-button/combo-button.component.mjs +302 -0
- package/esm2020/combo-button/combo-button.module.mjs +32 -0
- package/esm2020/combo-button/index.mjs +3 -0
- package/esm2020/context-menu/context-menu-divider.component.mjs +3 -3
- package/esm2020/context-menu/context-menu-group.component.mjs +3 -3
- package/esm2020/context-menu/context-menu-item.component.mjs +33 -3
- package/esm2020/context-menu/context-menu.component.mjs +27 -20
- package/esm2020/context-menu/context-menu.types.mjs +2 -0
- package/esm2020/context-menu/index.mjs +2 -1
- package/esm2020/index.mjs +2 -1
- package/esm2020/menu-button/carbon-components-angular-menu-button.mjs +5 -0
- package/esm2020/menu-button/index.mjs +3 -0
- package/esm2020/menu-button/menu-button.component.mjs +265 -0
- package/esm2020/menu-button/menu-button.module.mjs +33 -0
- package/esm2020/toggletip/toggletip.component.mjs +3 -3
- package/fesm2015/carbon-components-angular-combo-button.mjs +338 -0
- package/fesm2015/carbon-components-angular-combo-button.mjs.map +1 -0
- package/fesm2015/carbon-components-angular-context-menu.mjs +62 -25
- package/fesm2015/carbon-components-angular-context-menu.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-menu-button.mjs +302 -0
- package/fesm2015/carbon-components-angular-menu-button.mjs.map +1 -0
- package/fesm2015/carbon-components-angular-toggletip.mjs +2 -2
- package/fesm2015/carbon-components-angular-toggletip.mjs.map +1 -1
- package/fesm2015/carbon-components-angular.mjs +1 -0
- package/fesm2015/carbon-components-angular.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-combo-button.mjs +337 -0
- package/fesm2020/carbon-components-angular-combo-button.mjs.map +1 -0
- package/fesm2020/carbon-components-angular-context-menu.mjs +62 -25
- package/fesm2020/carbon-components-angular-context-menu.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-menu-button.mjs +301 -0
- package/fesm2020/carbon-components-angular-menu-button.mjs.map +1 -0
- package/fesm2020/carbon-components-angular-toggletip.mjs +2 -2
- package/fesm2020/carbon-components-angular-toggletip.mjs.map +1 -1
- package/fesm2020/carbon-components-angular.mjs +1 -0
- package/fesm2020/carbon-components-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/menu-button/index.d.ts +22 -0
- package/menu-button/menu-button.component.d.ts +88 -0
- package/menu-button/menu-button.module.d.ts +31 -0
- package/package.json +18 -2
- package/docs/storybook/1562.1e6a79b6.iframe.bundle.js +0 -1
- package/docs/storybook/6702.8b6fb391.iframe.bundle.js +0 -1
- package/docs/storybook/context-menu-context-menu-stories.7c62ce72.iframe.bundle.js +0 -1
- package/docs/storybook/main.9bc55d67.iframe.bundle.js +0 -1
- package/docs/storybook/popover-popover-stories.a91784a3.iframe.bundle.js +0 -1
- package/docs/storybook/runtime~main.31991a82.iframe.bundle.js +0 -1
- package/docs/storybook/tag-tag-stories.c5c2cc86.iframe.bundle.js +0 -1
|
@@ -110,13 +110,24 @@
|
|
|
110
110
|
<p>Assuming we're starting with a new @angular/cli project:</p>
|
|
111
111
|
<b>Example :</b><div><pre class="line-numbers"><code class="language-shell">$ npx @angular/cli new my-project --style=scss
|
|
112
112
|
$ cd my-project
|
|
113
|
-
$ npm i --save carbon-components-angular @carbon/styles</code></pre></div><p>
|
|
114
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-scss">@use
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
113
|
+
$ npm i --save carbon-components-angular @carbon/styles @carbon/icons</code></pre></div><p>Next, we need to include carbon styles in <code>src/styles.scss</code>:</p>
|
|
114
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-scss">@use '@carbon/styles/scss/config' with (
|
|
115
|
+
// Use flexbox for grid - stick to CSS Grid or Flexbox
|
|
116
|
+
// CSS Grid has become the default grid system in v11
|
|
117
|
+
$use-flexbox-grid: true,
|
|
118
|
+
// Update path of fonts to exclude tilde, required for vite (Angular 16+)
|
|
119
|
+
$font-path: '@ibm/plex'
|
|
120
|
+
);
|
|
121
|
+
|
|
122
|
+
@use '@carbon/styles';
|
|
123
|
+
|
|
124
|
+
// Import css variables in root
|
|
125
|
+
html {
|
|
126
|
+
@include styles.theme(styles.$white);
|
|
127
|
+
}</code></pre></div><p>Then we need to declare <code>@carbon/icons</code> as a module by creating a <code>module.d.ts</code> file (or use any existing declaration file - has <code>.d.ts</code> suffix) in your src directory:</p>
|
|
128
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-ts">declare module '@carbon/icons/*';</code></pre></div><p>That's it! Now we can run <code>npm start</code> and start building out our application!</p>
|
|
118
129
|
<blockquote>
|
|
119
|
-
<p><em>Note:</em> This isn't the only way to bootstrap a <code>carbon-components-angular</code> application, but the combination of <code>@angular/cli</code> and the <code
|
|
130
|
+
<p><em>Note:</em> This isn't the only way to bootstrap a <code>carbon-components-angular</code> application, but the combination of <code>@angular/cli</code> and the <code>@carbon/styles</code> scss is our recommended setup.</p>
|
|
120
131
|
</blockquote>
|
|
121
132
|
<p><a href="https://stackblitz.com/edit/stackblitz-starters-exxkq4?file=src%2Fmain.ts"><img src="https://developer.stackblitz.com/img/open_in_stackblitz.svg" alt="Edit Carbon Components Angular" class="img-responsive"></a></p>
|
|
122
133
|
<h3>Support</h3>
|
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<title>carbon-components-angular documentation</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
+
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
+
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
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>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="container-fluid main">
|
|
77
|
+
<div class="row main">
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
79
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
|
+
</div>
|
|
81
|
+
<!-- START CONTENT -->
|
|
82
|
+
<div class="content interface">
|
|
83
|
+
<div class="content-data">
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
<ol class="breadcrumb">
|
|
98
|
+
<li class="breadcrumb-item">Interfaces</li>
|
|
99
|
+
<li class="breadcrumb-item"
|
|
100
|
+
>
|
|
101
|
+
ItemClickEvent</li>
|
|
102
|
+
</ol>
|
|
103
|
+
|
|
104
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
105
|
+
<li class="nav-item">
|
|
106
|
+
<a href="#info"
|
|
107
|
+
class="nav-link"
|
|
108
|
+
class="nav-link active"
|
|
109
|
+
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
110
|
+
</li>
|
|
111
|
+
<li class="nav-item">
|
|
112
|
+
<a href="#source"
|
|
113
|
+
class="nav-link"
|
|
114
|
+
|
|
115
|
+
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
116
|
+
</li>
|
|
117
|
+
</ul>
|
|
118
|
+
|
|
119
|
+
<div class="tab-content">
|
|
120
|
+
<div class="tab-pane fade active in" id="info">
|
|
121
|
+
<p class="comment">
|
|
122
|
+
<h3>File</h3>
|
|
123
|
+
</p>
|
|
124
|
+
<p class="comment">
|
|
125
|
+
<code>src/context-menu/context-menu.types.ts</code>
|
|
126
|
+
</p>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
<section data-compodoc="block-index">
|
|
132
|
+
<h3 id="index">Index</h3>
|
|
133
|
+
<table class="table table-sm table-bordered index-table">
|
|
134
|
+
<tbody>
|
|
135
|
+
<tr>
|
|
136
|
+
<td class="col-md-4">
|
|
137
|
+
<h6><b>Properties</b></h6>
|
|
138
|
+
</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr>
|
|
141
|
+
<td class="col-md-4">
|
|
142
|
+
<ul class="index-list">
|
|
143
|
+
<li>
|
|
144
|
+
<a href="#event"
|
|
145
|
+
>
|
|
146
|
+
event
|
|
147
|
+
</a>
|
|
148
|
+
</li>
|
|
149
|
+
<li>
|
|
150
|
+
<a href="#info"
|
|
151
|
+
>
|
|
152
|
+
info
|
|
153
|
+
</a>
|
|
154
|
+
</li>
|
|
155
|
+
<li>
|
|
156
|
+
<a href="#label"
|
|
157
|
+
>
|
|
158
|
+
label
|
|
159
|
+
</a>
|
|
160
|
+
</li>
|
|
161
|
+
<li>
|
|
162
|
+
<a href="#type"
|
|
163
|
+
>
|
|
164
|
+
type
|
|
165
|
+
</a>
|
|
166
|
+
</li>
|
|
167
|
+
<li>
|
|
168
|
+
<a href="#value"
|
|
169
|
+
>
|
|
170
|
+
value
|
|
171
|
+
</a>
|
|
172
|
+
</li>
|
|
173
|
+
</ul>
|
|
174
|
+
</td>
|
|
175
|
+
</tr>
|
|
176
|
+
</tbody>
|
|
177
|
+
</table>
|
|
178
|
+
</section>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
<section data-compodoc="block-properties">
|
|
183
|
+
<h3 id="inputs">Properties</h3>
|
|
184
|
+
<table class="table table-sm table-bordered">
|
|
185
|
+
<tbody>
|
|
186
|
+
<tr>
|
|
187
|
+
<td class="col-md-4">
|
|
188
|
+
<a name="event"></a>
|
|
189
|
+
<span class="name "><b>event</b>
|
|
190
|
+
<a href="#event">
|
|
191
|
+
<span class="icon ion-ios-link"></span>
|
|
192
|
+
</a>
|
|
193
|
+
</span>
|
|
194
|
+
</td>
|
|
195
|
+
</tr>
|
|
196
|
+
<tr>
|
|
197
|
+
<td class="col-md-4">
|
|
198
|
+
<code>event: <code></code>
|
|
199
|
+
</code>
|
|
200
|
+
</td>
|
|
201
|
+
</tr>
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
</tbody>
|
|
210
|
+
</table>
|
|
211
|
+
<table class="table table-sm table-bordered">
|
|
212
|
+
<tbody>
|
|
213
|
+
<tr>
|
|
214
|
+
<td class="col-md-4">
|
|
215
|
+
<a name="info"></a>
|
|
216
|
+
<span class="name "><b>info</b>
|
|
217
|
+
<a href="#info">
|
|
218
|
+
<span class="icon ion-ios-link"></span>
|
|
219
|
+
</a>
|
|
220
|
+
</span>
|
|
221
|
+
</td>
|
|
222
|
+
</tr>
|
|
223
|
+
<tr>
|
|
224
|
+
<td class="col-md-4">
|
|
225
|
+
<code>info: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
226
|
+
</code>
|
|
227
|
+
</td>
|
|
228
|
+
</tr>
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
<tr>
|
|
232
|
+
<td class="col-md-4">
|
|
233
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
234
|
+
|
|
235
|
+
</td>
|
|
236
|
+
</tr>
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
</tbody>
|
|
243
|
+
</table>
|
|
244
|
+
<table class="table table-sm table-bordered">
|
|
245
|
+
<tbody>
|
|
246
|
+
<tr>
|
|
247
|
+
<td class="col-md-4">
|
|
248
|
+
<a name="label"></a>
|
|
249
|
+
<span class="name "><b>label</b>
|
|
250
|
+
<a href="#label">
|
|
251
|
+
<span class="icon ion-ios-link"></span>
|
|
252
|
+
</a>
|
|
253
|
+
</span>
|
|
254
|
+
</td>
|
|
255
|
+
</tr>
|
|
256
|
+
<tr>
|
|
257
|
+
<td class="col-md-4">
|
|
258
|
+
<code>label: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
259
|
+
</code>
|
|
260
|
+
</td>
|
|
261
|
+
</tr>
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
<tr>
|
|
265
|
+
<td class="col-md-4">
|
|
266
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
267
|
+
|
|
268
|
+
</td>
|
|
269
|
+
</tr>
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
</tbody>
|
|
276
|
+
</table>
|
|
277
|
+
<table class="table table-sm table-bordered">
|
|
278
|
+
<tbody>
|
|
279
|
+
<tr>
|
|
280
|
+
<td class="col-md-4">
|
|
281
|
+
<a name="type"></a>
|
|
282
|
+
<span class="name "><b>type</b>
|
|
283
|
+
<a href="#type">
|
|
284
|
+
<span class="icon ion-ios-link"></span>
|
|
285
|
+
</a>
|
|
286
|
+
</span>
|
|
287
|
+
</td>
|
|
288
|
+
</tr>
|
|
289
|
+
<tr>
|
|
290
|
+
<td class="col-md-4">
|
|
291
|
+
<code>type: <code>null | "checkbox" | "radio"</code>
|
|
292
|
+
</code>
|
|
293
|
+
</td>
|
|
294
|
+
</tr>
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<tr>
|
|
298
|
+
<td class="col-md-4">
|
|
299
|
+
<i>Type : </i> <code>null | "checkbox" | "radio"</code>
|
|
300
|
+
|
|
301
|
+
</td>
|
|
302
|
+
</tr>
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
</tbody>
|
|
309
|
+
</table>
|
|
310
|
+
<table class="table table-sm table-bordered">
|
|
311
|
+
<tbody>
|
|
312
|
+
<tr>
|
|
313
|
+
<td class="col-md-4">
|
|
314
|
+
<a name="value"></a>
|
|
315
|
+
<span class="name "><b>value</b>
|
|
316
|
+
<a href="#value">
|
|
317
|
+
<span class="icon ion-ios-link"></span>
|
|
318
|
+
</a>
|
|
319
|
+
</span>
|
|
320
|
+
</td>
|
|
321
|
+
</tr>
|
|
322
|
+
<tr>
|
|
323
|
+
<td class="col-md-4">
|
|
324
|
+
<code>value: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
325
|
+
</code>
|
|
326
|
+
</td>
|
|
327
|
+
</tr>
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
<tr>
|
|
331
|
+
<td class="col-md-4">
|
|
332
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
333
|
+
|
|
334
|
+
</td>
|
|
335
|
+
</tr>
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
</tbody>
|
|
342
|
+
</table>
|
|
343
|
+
</section>
|
|
344
|
+
</div>
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
<div class="tab-pane fade tab-source-code" id="source">
|
|
348
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">export interface ItemClickEvent {
|
|
349
|
+
type: null | "checkbox" | "radio";
|
|
350
|
+
label: string;
|
|
351
|
+
info: string;
|
|
352
|
+
value: string;
|
|
353
|
+
event: MouseEvent & KeyboardEvent;
|
|
354
|
+
}
|
|
355
|
+
</code></pre>
|
|
356
|
+
</div>
|
|
357
|
+
</div>
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
</div><div class="search-results">
|
|
367
|
+
<div class="has-results">
|
|
368
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
369
|
+
<ul class="search-results-list"></ul>
|
|
370
|
+
</div>
|
|
371
|
+
<div class="no-results">
|
|
372
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
373
|
+
</div>
|
|
374
|
+
</div>
|
|
375
|
+
</div>
|
|
376
|
+
<!-- END CONTENT -->
|
|
377
|
+
</div>
|
|
378
|
+
</div>
|
|
379
|
+
|
|
380
|
+
<label class="dark-mode-switch">
|
|
381
|
+
<input type="checkbox">
|
|
382
|
+
<span class="slider">
|
|
383
|
+
<svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
|
|
384
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
385
|
+
</svg>
|
|
386
|
+
</span>
|
|
387
|
+
</label>
|
|
388
|
+
|
|
389
|
+
<script>
|
|
390
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
391
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'interface';
|
|
392
|
+
var COMPODOC_CURRENT_PAGE_URL = 'ItemClickEvent.html';
|
|
393
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
394
|
+
</script>
|
|
395
|
+
|
|
396
|
+
<script>
|
|
397
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
398
|
+
checkToggle(darkModeState);
|
|
399
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
400
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
401
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
402
|
+
darkModeState = !darkModeState;
|
|
403
|
+
toggleDarkMode(darkModeState);
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
</script>
|
|
408
|
+
|
|
409
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
410
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
411
|
+
|
|
412
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
413
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
414
|
+
|
|
415
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
416
|
+
|
|
417
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
418
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
419
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
420
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
421
|
+
|
|
422
|
+
<script src="../js/compodoc.js"></script>
|
|
423
|
+
|
|
424
|
+
<script src="../js/tabs.js"></script>
|
|
425
|
+
<script src="../js/menu.js"></script>
|
|
426
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
427
|
+
<script src="../js/libs/prism.js"></script>
|
|
428
|
+
<script src="../js/sourceCode.js"></script>
|
|
429
|
+
<script src="../js/search/search.js"></script>
|
|
430
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
431
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
432
|
+
<script src="../js/search/search_index.js"></script>
|
|
433
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
</body>
|
|
437
|
+
</html>
|
|
@@ -202,6 +202,23 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
202
202
|
</ul>
|
|
203
203
|
</li>
|
|
204
204
|
</li>
|
|
205
|
+
<li class="link">
|
|
206
|
+
<a href="modules/ComboButtonModule.html" data-type="entity-link" >ComboButtonModule</a>
|
|
207
|
+
<li class="chapter inner">
|
|
208
|
+
<div class="simple menu-toggler" data-bs-toggle="collapse" ${ isNormalMode ?
|
|
209
|
+
'data-bs-target="#components-links-module-ComboButtonModule-705867ddb65364729d381c1f3180d6accbff37c0c8955fb5b71071da1f580561068f24f40d7675aa28ba456befe39edbb845b798e00ccd09f8cc6b11b4c002be"' : 'data-bs-target="#xs-components-links-module-ComboButtonModule-705867ddb65364729d381c1f3180d6accbff37c0c8955fb5b71071da1f580561068f24f40d7675aa28ba456befe39edbb845b798e00ccd09f8cc6b11b4c002be"' }>
|
|
210
|
+
<span class="icon ion-md-cog"></span>
|
|
211
|
+
<span>Components</span>
|
|
212
|
+
<span class="icon ion-ios-arrow-down"></span>
|
|
213
|
+
</div>
|
|
214
|
+
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-ComboButtonModule-705867ddb65364729d381c1f3180d6accbff37c0c8955fb5b71071da1f580561068f24f40d7675aa28ba456befe39edbb845b798e00ccd09f8cc6b11b4c002be"' :
|
|
215
|
+
'id="xs-components-links-module-ComboButtonModule-705867ddb65364729d381c1f3180d6accbff37c0c8955fb5b71071da1f580561068f24f40d7675aa28ba456befe39edbb845b798e00ccd09f8cc6b11b4c002be"' }>
|
|
216
|
+
<li class="link">
|
|
217
|
+
<a href="components/ComboButtonComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >ComboButtonComponent</a>
|
|
218
|
+
</li>
|
|
219
|
+
</ul>
|
|
220
|
+
</li>
|
|
221
|
+
</li>
|
|
205
222
|
<li class="link">
|
|
206
223
|
<a href="modules/ContainedListModule.html" data-type="entity-link" >ContainedListModule</a>
|
|
207
224
|
<li class="chapter inner">
|
|
@@ -752,6 +769,23 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
752
769
|
</ul>
|
|
753
770
|
</li>
|
|
754
771
|
</li>
|
|
772
|
+
<li class="link">
|
|
773
|
+
<a href="modules/MenuButtonModule.html" data-type="entity-link" >MenuButtonModule</a>
|
|
774
|
+
<li class="chapter inner">
|
|
775
|
+
<div class="simple menu-toggler" data-bs-toggle="collapse" ${ isNormalMode ?
|
|
776
|
+
'data-bs-target="#components-links-module-MenuButtonModule-a2df7769bd937428742a3e946e0288a88c29ba93b25b8e09901809b47c5d729a417d06557fd6bbd05530b891ff5302f6f08371d670740544f0addfa7e7781a8a"' : 'data-bs-target="#xs-components-links-module-MenuButtonModule-a2df7769bd937428742a3e946e0288a88c29ba93b25b8e09901809b47c5d729a417d06557fd6bbd05530b891ff5302f6f08371d670740544f0addfa7e7781a8a"' }>
|
|
777
|
+
<span class="icon ion-md-cog"></span>
|
|
778
|
+
<span>Components</span>
|
|
779
|
+
<span class="icon ion-ios-arrow-down"></span>
|
|
780
|
+
</div>
|
|
781
|
+
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-MenuButtonModule-a2df7769bd937428742a3e946e0288a88c29ba93b25b8e09901809b47c5d729a417d06557fd6bbd05530b891ff5302f6f08371d670740544f0addfa7e7781a8a"' :
|
|
782
|
+
'id="xs-components-links-module-MenuButtonModule-a2df7769bd937428742a3e946e0288a88c29ba93b25b8e09901809b47c5d729a417d06557fd6bbd05530b891ff5302f6f08371d670740544f0addfa7e7781a8a"' }>
|
|
783
|
+
<li class="link">
|
|
784
|
+
<a href="components/MenuButtonComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >MenuButtonComponent</a>
|
|
785
|
+
</li>
|
|
786
|
+
</ul>
|
|
787
|
+
</li>
|
|
788
|
+
</li>
|
|
755
789
|
<li class="link">
|
|
756
790
|
<a href="modules/ModalModule.html" data-type="entity-link" >ModalModule</a>
|
|
757
791
|
<li class="chapter inner">
|
|
@@ -1757,6 +1791,9 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
1757
1791
|
<li class="link">
|
|
1758
1792
|
<a href="interfaces/IconDescriptor.html" data-type="entity-link" >IconDescriptor</a>
|
|
1759
1793
|
</li>
|
|
1794
|
+
<li class="link">
|
|
1795
|
+
<a href="interfaces/ItemClickEvent.html" data-type="entity-link" >ItemClickEvent</a>
|
|
1796
|
+
</li>
|
|
1760
1797
|
<li class="link">
|
|
1761
1798
|
<a href="interfaces/ListItem.html" data-type="entity-link" >ListItem</a>
|
|
1762
1799
|
</li>
|