move data, not elements approach
This commit is contained in:
@@ -17,6 +17,7 @@ const SORTER_CONFIG: UmbSorterConfig<ModelEntryType> = {
|
||||
identifier: 'string-that-identifies-all-example-sorters',
|
||||
itemSelector: '.sorter-item',
|
||||
containerSelector: '.sorter-container',
|
||||
placeholderClass: 'sorter-placeholder',
|
||||
};
|
||||
|
||||
@customElement('example-sorter-dashboard')
|
||||
@@ -101,6 +102,9 @@ export class ExampleSorterDashboard extends UmbElementMixin(LitElement) {
|
||||
border-radius: var(--uui-border-radius);
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.sorter-placeholder {
|
||||
opacity: 0.2;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user