bootstrap-lombardia
Version:
Bootstrap Lombardia è una customizzazione di Boostrap Italia per la creazione di applicazioni web conformi alle Linee Guida per il design e l’identità visiva digitale di Regione Lombardia
20 lines (17 loc) • 651 B
TypeScript
import { Collapse as BSCollapse } from 'bootstrap'
import { type GetInstanceFactory, type GetOrCreateInstanceFactory } from 'bootstrap/js/dist/base-component';
declare class Collapse extends BSCollapse {
/**
* Static method which allows you to get the instance associated
* with a DOM element.
*/
static getInstance: GetInstanceFactory<Collapse>;
/**
* Static method which allows you to get the modal instance associated with
* a DOM element, or create a new one in case it wasn’t initialised
*/
static getOrCreateInstance: GetOrCreateInstanceFactory<
Collapse, Partial<BSCollapse.Options>
>;
}
export { Collapse }