obsidian-dev-utils
Version:
This is the collection of useful functions that you can use for your Obsidian plugin development
13 lines (12 loc) • 324 B
text/typescript
/**
* @packageDocumentation
*
* Wraps an element in a setting component wrapper.
*/
/**
* Ensures that the element is wrapped in a setting component wrapper.
*
* @param el - The element to ensure is wrapped.
* @returns The wrapper element.
*/
export declare function ensureWrapped(el: HTMLElement): HTMLDivElement;