import { Descriptor } from 'hybrids'; /** * Get a reference to a slotted light-DOM node * ``` * define({ * tag: 'my-component', * content: slotted(), * named: slotted('named-slot'), * render: () => html` * * * ` * }) * * *
Default slot
*
Named slot
*
* ``` * @category Ref * @param name the slot name to select. If not provided, selects the default slotted nodes. * @returns a hybrid descriptor binding a slotted node to the host */ export declare function slotted(name?: string): Descriptor;