Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../plugins/filterizr/.
الملفات الموجودة في هذا الـ Path:
.
..
ActiveFilter.d.ts
BrowserWindow.d.ts
EventReceiver.d.ts
FilterContainer
FilterContainer.d.ts
FilterControls.d.ts
FilterItem
FilterItem.d.ts
FilterItems
FilterItems.d.ts
Filterizr
Filterizr.d.ts
FilterizrElement.d.ts
FilterizrOptions
Spinner
StyledFilterizrElement.d.ts
StyledFilterizrElements.d.ts
animate.d.ts
config
filterizr.min.js
getLayoutPositions.d.ts
index.d.ts
index.jquery.d.ts
installAsJQueryPlugin.d.ts
jquery.filterizr.min.js
layouts
makeLayoutPositions
types
utils
utils.d.ts
vanilla.filterizr.min.js

مشاهدة ملف: FilterContainer.d.ts

import { RawOptionsCallbacks } from './FilterizrOptions/defaultOptions';
import FilterizrOptions from './FilterizrOptions/FilterizrOptions';
import FilterItems from './FilterItems';
/**
 * Resembles the grid of items within Filterizr.
 */
export default class FilterContainer {
    node: Element;
    options: FilterizrOptions;
    filterItems: FilterItems;
    dimensions: {
        width: number;
        height: number;
    };
    private onTransitionEndHandler?;
    constructor(node: Element, options: FilterizrOptions);
    destroy(): void;
    /**
     * Turn the HTML elements in the grid to FilterItem
     * instances and return a collection of them.
     */
    makeFilterItems(options: FilterizrOptions): FilterItems;
    /**
     * Inserts a new item into the grid.
     * @param node - HTML node to instantiate as FilterItem and append to the grid
     * @param options - Filterizr options
     */
    insertItem(node: Element, options: FilterizrOptions): void;
    calculateColumns(): number;
    updateDimensions(): void;
    updateHeight(newHeight: number): void;
    bindEvents(callbacks: RawOptionsCallbacks): void;
    unbindEvents(callbacks: RawOptionsCallbacks): void;
    trigger(eventType: string): void;
    private updateWidth;
}