From 6801bb6cfbbda74ba6e73b9fee66fe904a041419 Mon Sep 17 00:00:00 2001 From: JC Franco Date: Wed, 17 Jul 2024 17:45:02 -0700 Subject: [PATCH] refactor(dropdown-item): remove unused members (#9794) --- .../src/components/dropdown/dropdown.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/calcite-components/src/components/dropdown/dropdown.tsx b/packages/calcite-components/src/components/dropdown/dropdown.tsx index 3a55d64ff5f..cca3ae0ee3d 100644 --- a/packages/calcite-components/src/components/dropdown/dropdown.tsx +++ b/packages/calcite-components/src/components/dropdown/dropdown.tsx @@ -444,22 +444,12 @@ export class Dropdown guid = `calcite-dropdown-${guid()}`; - defaultAssignedElements: Element[] = []; - //-------------------------------------------------------------------------- // // Private Methods // //-------------------------------------------------------------------------- - slotChangeHandler = (event: Event): void => { - this.defaultAssignedElements = (event.target as HTMLSlotElement).assignedElements({ - flatten: true, - }); - - this.updateItems(); - }; - setFilteredPlacements = (): void => { const { el, flipPlacements } = this;