@brightspace-ui/core 2.77.0 → 2.78.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/components/button/button-icon.js +1 -0
- package/components/collapsible-panel/README.md +28 -15
- package/components/list/README.md +67 -0
- package/components/list/demo/demo-list-nested-lazy-load.js +133 -0
- package/components/list/demo/demo-list-nested.js +279 -0
- package/components/list/demo/list-demo-scenarios.js +321 -0
- package/components/list/demo/list-drag-and-drop.html +2 -2
- package/components/list/demo/list-expand-collapse.html +134 -0
- package/components/list/list-item-checkbox-mixin.js +2 -8
- package/components/list/list-item-drag-drop-mixin.js +78 -14
- package/components/list/list-item-drag-image.js +5 -3
- package/components/list/list-item-expand-collapse-mixin.js +168 -0
- package/components/list/list-item-generic-layout.js +21 -12
- package/components/list/list-item-mixin.js +88 -11
- package/components/list/list.js +45 -9
- package/components/selection/selection-summary.js +43 -12
- package/custom-elements.json +386 -194
- package/lang/ar.js +1 -0
- package/lang/cy.js +1 -0
- package/lang/da.js +1 -0
- package/lang/de.js +1 -0
- package/lang/en.js +1 -0
- package/lang/es-es.js +1 -0
- package/lang/es.js +1 -0
- package/lang/fr-fr.js +1 -0
- package/lang/fr.js +1 -0
- package/lang/hi.js +1 -0
- package/lang/ja.js +1 -0
- package/lang/ko.js +1 -0
- package/lang/nl.js +1 -0
- package/lang/pt.js +1 -0
- package/lang/sv.js +1 -0
- package/lang/tr.js +1 -0
- package/lang/zh-cn.js +1 -0
- package/lang/zh-tw.js +1 -0
- package/package.json +1 -1
- package/components/list/demo/list-drag-and-drop.js +0 -181
package/lang/ar.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "تحديد الكل",
|
|
100
100
|
"components.selection.select-all-items": "تحديد كل المواد الـ {count}.",
|
|
101
101
|
"components.selection.selected": "تم تحديد {count}",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "إجراءات التحديد",
|
|
103
104
|
"components.switch.visible": "مرئي",
|
|
104
105
|
"components.switch.visibleWithPeriod": "مرئي.",
|
package/lang/cy.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Dewis y Cyfan",
|
|
100
100
|
"components.selection.select-all-items": "Dewis Pob {count} Eitem",
|
|
101
101
|
"components.selection.selected": "{count} wedi’u dewis.",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Camau gweithredu ar gyfer detholiad",
|
|
103
104
|
"components.switch.visible": "Gweladwy",
|
|
104
105
|
"components.switch.visibleWithPeriod": "Gweladwy.",
|
package/lang/da.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Vælg alle",
|
|
100
100
|
"components.selection.select-all-items": "Vælg alle {count} elementer",
|
|
101
101
|
"components.selection.selected": "{count} valgt",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Handlinger for valg",
|
|
103
104
|
"components.switch.visible": "Synlig",
|
|
104
105
|
"components.switch.visibleWithPeriod": "Synlig.",
|
package/lang/de.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Alle auswählen",
|
|
100
100
|
"components.selection.select-all-items": "Alle {count} Elemente auswählen",
|
|
101
101
|
"components.selection.selected": "{count} ausgewählt",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Aktionen für Auswahl",
|
|
103
104
|
"components.switch.visible": "Sichtbar",
|
|
104
105
|
"components.switch.visibleWithPeriod": "Sichtbar.",
|
package/lang/en.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Select All",
|
|
100
100
|
"components.selection.select-all-items": "Select All {count} Items",
|
|
101
101
|
"components.selection.selected": "{count} selected",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Actions for selection",
|
|
103
104
|
"components.switch.visible": "Visible",
|
|
104
105
|
"components.switch.visibleWithPeriod": "Visible.",
|
package/lang/es-es.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Seleccionar todo",
|
|
100
100
|
"components.selection.select-all-items": "Seleccione los {count} elementos",
|
|
101
101
|
"components.selection.selected": "{count} seleccionados",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Acciones para la selección",
|
|
103
104
|
"components.switch.visible": "Visible", // mfv-translated
|
|
104
105
|
"components.switch.visibleWithPeriod": "Visible.", // mfv-translated
|
package/lang/es.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Seleccionar todo",
|
|
100
100
|
"components.selection.select-all-items": "Seleccione todos los {count} elementos",
|
|
101
101
|
"components.selection.selected": "{count} seleccionados",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Acciones para la selección",
|
|
103
104
|
"components.switch.visible": "Visible", // mfv-translated
|
|
104
105
|
"components.switch.visibleWithPeriod": "Visible.", // mfv-translated
|
package/lang/fr-fr.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Tout sélectionner",
|
|
100
100
|
"components.selection.select-all-items": "Sélectionner tous les {count} éléments",
|
|
101
101
|
"components.selection.selected": "{count} sélectionnés",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ sélectionnés",
|
|
102
103
|
"components.selection-header.label": "Actions pour la sélection",
|
|
103
104
|
"components.switch.visible": "Visible", // mfv-translated
|
|
104
105
|
"components.switch.visibleWithPeriod": "Visible.", // mfv-translated
|
package/lang/fr.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Tout sélectionner",
|
|
100
100
|
"components.selection.select-all-items": "Sélectionner tous les {count} éléments",
|
|
101
101
|
"components.selection.selected": "{count} sélectionné(s)",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ sélectionné(s)",
|
|
102
103
|
"components.selection-header.label": "Actions à sélectionner",
|
|
103
104
|
"components.switch.visible": "Visible", // mfv-translated
|
|
104
105
|
"components.switch.visibleWithPeriod": "Visible.", // mfv-translated
|
package/lang/hi.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "सभी का चयन करें",
|
|
100
100
|
"components.selection.select-all-items": "सभी {count} आइटम चुनें।",
|
|
101
101
|
"components.selection.selected": "{count} चयनित",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "चयन के लिए क्रियाएँ",
|
|
103
104
|
"components.switch.visible": "दृश्यमान",
|
|
104
105
|
"components.switch.visibleWithPeriod": "दृश्यमान।",
|
package/lang/ja.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "すべて選択",
|
|
100
100
|
"components.selection.select-all-items": "{count} 個の項目をすべて選択",
|
|
101
101
|
"components.selection.selected": "{count} 個を選択済み",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "選択のアクション",
|
|
103
104
|
"components.switch.visible": "表示",
|
|
104
105
|
"components.switch.visibleWithPeriod": "表示。",
|
package/lang/ko.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "모두 선택",
|
|
100
100
|
"components.selection.select-all-items": "{count}개 항목을 모두 선택하십시오.",
|
|
101
101
|
"components.selection.selected": "{count}개 선택됨",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "선택 작업",
|
|
103
104
|
"components.switch.visible": "표시",
|
|
104
105
|
"components.switch.visibleWithPeriod": "표시.",
|
package/lang/nl.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Alles selecteren",
|
|
100
100
|
"components.selection.select-all-items": "Alle {count} records selecteren",
|
|
101
101
|
"components.selection.selected": "{count} geselecteerd",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Acties voor selectie",
|
|
103
104
|
"components.switch.visible": "Zichtbaar",
|
|
104
105
|
"components.switch.visibleWithPeriod": "Zichtbaar.",
|
package/lang/pt.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Selecionar tudo",
|
|
100
100
|
"components.selection.select-all-items": "Selecione todos os {count} itens",
|
|
101
101
|
"components.selection.selected": "{count} selecionados",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Ações para seleção",
|
|
103
104
|
"components.switch.visible": "Visível",
|
|
104
105
|
"components.switch.visibleWithPeriod": "Visível.",
|
package/lang/sv.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Välj alla",
|
|
100
100
|
"components.selection.select-all-items": "Välj alla {count} objekt",
|
|
101
101
|
"components.selection.selected": "{count} valda",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Åtgärder för val",
|
|
103
104
|
"components.switch.visible": "Synlig",
|
|
104
105
|
"components.switch.visibleWithPeriod": "Synlig.",
|
package/lang/tr.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "Tümünü Seç",
|
|
100
100
|
"components.selection.select-all-items": "{count} Öğenin Tamamını Seç",
|
|
101
101
|
"components.selection.selected": "{count} öğe seçildi",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "Seçim için eylemler",
|
|
103
104
|
"components.switch.visible": "Görünür",
|
|
104
105
|
"components.switch.visibleWithPeriod": "Görünür.",
|
package/lang/zh-cn.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "全选",
|
|
100
100
|
"components.selection.select-all-items": "选择全部 {count} 个项目",
|
|
101
101
|
"components.selection.selected": "已选 {count}",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "针对所选内容的操作",
|
|
103
104
|
"components.switch.visible": "可见",
|
|
104
105
|
"components.switch.visibleWithPeriod": "可见。",
|
package/lang/zh-tw.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
"components.selection.select-all": "全選",
|
|
100
100
|
"components.selection.select-all-items": "選取所有 {count} 個項目",
|
|
101
101
|
"components.selection.selected": "已選取 {count} 個",
|
|
102
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
102
103
|
"components.selection-header.label": "選擇的動作",
|
|
103
104
|
"components.switch.visible": "可見",
|
|
104
105
|
"components.switch.visibleWithPeriod": "可見。",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.78.1",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import '../list-item-content.js';
|
|
2
|
-
import '../list-item.js';
|
|
3
|
-
import '../list.js';
|
|
4
|
-
import { html, LitElement } from 'lit';
|
|
5
|
-
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
6
|
-
import { moveLocations } from '../list-item-drag-drop-mixin.js';
|
|
7
|
-
import { repeat } from 'lit/directives/repeat.js';
|
|
8
|
-
|
|
9
|
-
class ListDemoDragAndDrop extends LitElement {
|
|
10
|
-
|
|
11
|
-
static get properties() {
|
|
12
|
-
return {
|
|
13
|
-
items: { type: Array }
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
constructor() {
|
|
18
|
-
super();
|
|
19
|
-
this.items = [{
|
|
20
|
-
key: '1',
|
|
21
|
-
primaryText: 'Introductory Earth Sciences',
|
|
22
|
-
supportingText: 'This course explores the geological processes of the Earth\'s interior and surface. These include volcanism, earthquakes, mountain building, glaciation and weathering.',
|
|
23
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/63b162ab-b582-4bf9-8c1d-1dad04714121/tile-high-density-max-size.jpg',
|
|
24
|
-
dropNested: true,
|
|
25
|
-
items: [{
|
|
26
|
-
key: '1-1',
|
|
27
|
-
primaryText: 'Glaciation',
|
|
28
|
-
supportingText: 'Nesting Allowed',
|
|
29
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/bf648978-6637-4fdc-815b-81572c436c0e/tile-high-density-max-size.jpg',
|
|
30
|
-
dropNested: true,
|
|
31
|
-
items: []
|
|
32
|
-
}, {
|
|
33
|
-
key: '1-2',
|
|
34
|
-
primaryText: 'Weathering',
|
|
35
|
-
supportingText: 'Nesting Allowed',
|
|
36
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/50f91ba6-7c25-482a-bd71-1c4b7c8d2154/tile-high-density-min-size.jpg',
|
|
37
|
-
dropNested: true,
|
|
38
|
-
items: []
|
|
39
|
-
}, {
|
|
40
|
-
key: '1-3',
|
|
41
|
-
primaryText: 'Volcanism',
|
|
42
|
-
supportingText: 'Nesting Allowed',
|
|
43
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/5eb2371d-6099-4c8d-8aad-075f357012a2/tile-high-density-min-size.jpg',
|
|
44
|
-
dropNested: true,
|
|
45
|
-
items: []
|
|
46
|
-
}]
|
|
47
|
-
}, {
|
|
48
|
-
key: '2',
|
|
49
|
-
primaryText: 'Flow and Transport Through Fractured Rocks',
|
|
50
|
-
supportingText: 'Fractures are ubiquitous in geologic media and important in disciplines such as physical and contaminant hydrogeology, geotechnical engineering, civil and environmental engineering, petroleum engineering among other areas.',
|
|
51
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/e5fd575a-bc14-4a80-89e1-46f349a76178/tile-high-density-max-size.jpg',
|
|
52
|
-
items: [{
|
|
53
|
-
key: '2-1',
|
|
54
|
-
primaryText: 'Contaminant Transport',
|
|
55
|
-
supportingText: 'No Nesting Allowed',
|
|
56
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/824fffa1-86a6-4489-84ba-91edfbc1dcc4/tile-high-density-min-size.jpg',
|
|
57
|
-
dropNested: false,
|
|
58
|
-
items: []
|
|
59
|
-
}, {
|
|
60
|
-
key: '2-2',
|
|
61
|
-
primaryText: 'Modelling Flow in Fractured Media',
|
|
62
|
-
supportingText: 'No Nesting Allowed',
|
|
63
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/e18c92a4-b996-444f-84b5-988874feccac/tile-high-density-min-size.jpg',
|
|
64
|
-
dropNested: false,
|
|
65
|
-
items: []
|
|
66
|
-
}]
|
|
67
|
-
}, {
|
|
68
|
-
key: '3',
|
|
69
|
-
primaryText: 'Applied Wetland Science',
|
|
70
|
-
supportingText: 'Advanced concepts on wetland ecosystems in the context of regional and global earth systems processes such as carbon and nitrogen cycling and climate change, applications of wetland paleoecology, use of isotopes and other geochemical tools in wetland science, and wetland engineering in landscape rehabilitation and ecotechnology.',
|
|
71
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/38e839b1-37fa-470c-8830-b189ce4ae134/tile-high-density-max-size.jpg',
|
|
72
|
-
items: [{
|
|
73
|
-
key: '3-1',
|
|
74
|
-
primaryText: 'Carbon & Nitrogen Cycling',
|
|
75
|
-
supportingText: 'Nesting Allowed',
|
|
76
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/623b420b-a305-4762-8af8-598f0e72e956/tile-high-density-min-size.jpg',
|
|
77
|
-
dropNested: true,
|
|
78
|
-
items: []
|
|
79
|
-
}, {
|
|
80
|
-
key: '3-2',
|
|
81
|
-
primaryText: 'Wetland Engineering',
|
|
82
|
-
supportingText: 'Nesting Allowed',
|
|
83
|
-
imgSrc: 'https://s.brightspace.com/course-images/images/26102577-8f2a-4e24-84b5-19d76decbc7a/tile-high-density-min-size.jpg',
|
|
84
|
-
dropNested: true,
|
|
85
|
-
items: []
|
|
86
|
-
}]
|
|
87
|
-
}];
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
render() {
|
|
91
|
-
const renderList = (items, nested) => {
|
|
92
|
-
return html`
|
|
93
|
-
<d2l-list grid drag-multiple slot="${ifDefined(nested ? 'nested' : undefined)}">
|
|
94
|
-
${repeat(items, item => item.key, item => html`
|
|
95
|
-
<d2l-list-item
|
|
96
|
-
action-href="http://www.d2l.com"
|
|
97
|
-
draggable
|
|
98
|
-
drag-handle-text="${item.primaryText}"
|
|
99
|
-
?drop-nested="${item.dropNested}"
|
|
100
|
-
key="${item.key}"
|
|
101
|
-
label="${item.primaryText}"
|
|
102
|
-
selectable>
|
|
103
|
-
${item.imgSrc.length === 0 ? null : html`<img slot="illustration" src="${item.imgSrc}">`}
|
|
104
|
-
<d2l-list-item-content>
|
|
105
|
-
<div>${item.primaryText}</div>
|
|
106
|
-
<div slot="supporting-info">${item.supportingText}</div>
|
|
107
|
-
</d2l-list-item-content>
|
|
108
|
-
${item.items.length > 0 ? renderList(item.items, true) : null}
|
|
109
|
-
</d2l-list-item>
|
|
110
|
-
`)}
|
|
111
|
-
</d2l-list>
|
|
112
|
-
`;
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
return html`
|
|
116
|
-
<div @d2l-list-items-move="${this._handleListItemsMove}">
|
|
117
|
-
${renderList(this.items, false)}
|
|
118
|
-
</div>
|
|
119
|
-
`;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
async _handleListItemsMove(e) {
|
|
123
|
-
|
|
124
|
-
const sourceListItems = e.detail.sourceItems;
|
|
125
|
-
const target = e.detail.target;
|
|
126
|
-
|
|
127
|
-
// helper that gets the array containing item data, the item data, and the index within the array
|
|
128
|
-
const getItemInfo = (items, key) => {
|
|
129
|
-
for (let i = 0; i < items.length; i++) {
|
|
130
|
-
if (items[i].key === key) {
|
|
131
|
-
return { owner: items, item: items[i], index: i };
|
|
132
|
-
}
|
|
133
|
-
if (items[i].items && items[i].items.length > 0) {
|
|
134
|
-
const tempItemData = getItemInfo(items[i].items, key);
|
|
135
|
-
if (tempItemData) return tempItemData;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
const dataToMove = [];
|
|
141
|
-
|
|
142
|
-
// remove data elements from original locations
|
|
143
|
-
sourceListItems.forEach(sourceListItem => {
|
|
144
|
-
const info = getItemInfo(this.items, sourceListItem.key);
|
|
145
|
-
info.owner.splice(info.index, 1);
|
|
146
|
-
dataToMove.push(info.item);
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
// append data elements to new location
|
|
150
|
-
const targetInfo = getItemInfo(this.items, target.item.key);
|
|
151
|
-
let targetItems;
|
|
152
|
-
let targetIndex;
|
|
153
|
-
if (target.location === moveLocations.nest) {
|
|
154
|
-
if (!targetInfo.item.items) targetInfo.item.items = [];
|
|
155
|
-
targetItems = targetInfo.item.items;
|
|
156
|
-
targetIndex = targetItems.length;
|
|
157
|
-
} else {
|
|
158
|
-
targetItems = targetInfo.owner;
|
|
159
|
-
if (target.location === moveLocations.above) targetIndex = targetInfo.index;
|
|
160
|
-
else if (target.location === moveLocations.below) targetIndex = targetInfo.index + 1;
|
|
161
|
-
}
|
|
162
|
-
for (let i = dataToMove.length - 1; i >= 0; i--) {
|
|
163
|
-
targetItems.splice(targetIndex, 0, dataToMove[i]);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
this.requestUpdate();
|
|
167
|
-
await this.updateComplete;
|
|
168
|
-
|
|
169
|
-
if (e.detail.keyboardActive) {
|
|
170
|
-
setTimeout(() => {
|
|
171
|
-
if (!this.shadowRoot) return;
|
|
172
|
-
const newItem = this.shadowRoot.querySelector('d2l-list').getListItemByKey(sourceListItems[0].key);
|
|
173
|
-
newItem.activateDragHandle();
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
customElements.define('d2l-demo-list-drag-and-drop', ListDemoDragAndDrop);
|