inspectElement
function inspectElement(name?): AttachmentInspect an element with Inspect.Panel
Parameters
Section titled “Parameters”string
key of element in Inspect.Panel global values. Defaults to node.nodeName
Returns
Section titled “Returns”Attachment
Example
Section titled “Example”<input bind:value={amount} type="number" {@attach inspectElement('amountInput')} />