mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 04:39:19 +00:00
Revert "Refactor prop types to omit redundant null
for null | HTMLElement
types"
#996
This commit is contained in:
parent
49a94b0ee4
commit
f34412202d
13 changed files with 35 additions and 40 deletions
|
@ -9,16 +9,13 @@
|
|||
import CopyFile16 from "carbon-icons-svelte/lib/CopyFile16";
|
||||
import Cut16 from "carbon-icons-svelte/lib/Cut16";
|
||||
|
||||
let target: HTMLElement = null;
|
||||
let selectedId = "0";
|
||||
let selectedIds = [];
|
||||
|
||||
$: console.log("selectedId", selectedId);
|
||||
</script>
|
||||
|
||||
<div bind:this="{target}"></div>
|
||||
|
||||
<ContextMenu open on:open="{(e) => console.log(e.detail)}" bind:target>
|
||||
<ContextMenu open on:open="{(e) => console.log(e.detail)}">
|
||||
<ContextMenuOption
|
||||
kind="danger"
|
||||
indented
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue