@rr0/cms
Version:
RR0 Content Management System (CMS)
24 lines (23 loc) • 772 B
text/typescript
export class FilterForm {
/**
*
* @param {string} formSelector
* @param {function} tagSelector
* @param {string[]} checkedLangs The array of initially-checked inputs.
* @param {object} supportedLangs Key-values of languages
* @param {function} tagAttribute returns the attribute that will provide a possible value to check.
*/
constructor(formSelector: string, tagSelector: Function, checkedLangs: string[], supportedLangs: object, tagAttribute: Function);
checked: string[];
tagAttribute: Function;
/**
*
* @param {string} value
* @return {HTMLElement[]}
*/
getTags(value: string): HTMLElement[];
clicked(): void;
hint(input: any, hint: any): void;
ready(): void;
#private;
}