UNPKG

ngx-unused-css

Version:
9 lines (8 loc) 343 B
/** * Parse html template and find all elements which contains ngClass attribute, if found * make copy of elements on the same level with all possible combinations of classes found * in ngClass configuration * @param {string} html * @param {string} cssPath */ export default function parseNgClass(html: string, cssPath: string): string;