device-navigation
Version:
Navigate HTML elements in two dimensions with non-pointer devices.
16 lines (15 loc) • 626 B
TypeScript
import { type PartInfo } from 'element-vir';
/**
* Makes arbitrary modifications to the element that its attached to.
*
* @category Internal
*/
export declare const modifyElement: (renderKey: string | undefined, callback: (element: Element) => void) => import("element-vir").DirectiveResult<{
new (partInfo: PartInfo): {
readonly element: Element;
lastKey: string | undefined;
render(renderKey: string | undefined, callback: (element: Element) => void): symbol;
readonly _$isConnected: boolean;
update(_part: import("lit-html").Part, props: Array<unknown>): unknown;
};
}>;