@inkline/inkline
Version:
Inkline is the Vue.js UI/UX Library built for creating your next design system
27 lines (26 loc) • 744 B
TypeScript
/**
* Find component by component instance name.
* Mainly used for searching first matching child in component slots.
*
* @TODO Requires Vue 3 update
*
* @param items
* @param name
* @param maxDepth
* @param currentDepth
* @returns {Array}
*/
export declare function querySelector(items: any[], name: string, maxDepth?: number, currentDepth?: number): any;
/**
* Find components by component instance name.
* Mainly used for filtering and searching children in component slots.
*
* @TODO Requires Vue 3 update
*
* @param items
* @param name
* @param maxDepth
* @param currentDepth
* @returns {Array}
*/
export declare function querySelectorAll(items: any[], name: string, maxDepth?: number, currentDepth?: number): any[];