Skip to content

inspectElement

function inspectElement(name?): Attachment

Inspect an element with Inspect.Panel

string

key of element in Inspect.Panel global values. Defaults to node.nodeName

Attachment

<input bind:value={amount} type="number" {@attach inspectElement('amountInput')} />