forked from hero/www_hero
hero_web
This commit is contained in:
8
node_modules/flowbite/lib/cjs/dom/events.d.ts
generated
vendored
Normal file
8
node_modules/flowbite/lib/cjs/dom/events.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
declare class Events {
|
||||
private _eventType;
|
||||
private _eventFunctions;
|
||||
constructor(eventType: string, eventFunctions?: EventListener[]);
|
||||
init(): void;
|
||||
}
|
||||
export default Events;
|
||||
//# sourceMappingURL=events.d.ts.map
|
1
node_modules/flowbite/lib/cjs/dom/events.d.ts.map
generated
vendored
Normal file
1
node_modules/flowbite/lib/cjs/dom/events.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/dom/events.ts"],"names":[],"mappings":"AAAA,cAAM,MAAM;IACR,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,eAAe,CAAkB;gBAE7B,SAAS,EAAE,MAAM,EAAE,cAAc,GAAE,aAAa,EAAO;IAKnE,IAAI;CAOP;AAED,eAAe,MAAM,CAAC"}
|
20
node_modules/flowbite/lib/cjs/dom/events.js
generated
vendored
Normal file
20
node_modules/flowbite/lib/cjs/dom/events.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var Events = /** @class */ (function () {
|
||||
function Events(eventType, eventFunctions) {
|
||||
if (eventFunctions === void 0) { eventFunctions = []; }
|
||||
this._eventType = eventType;
|
||||
this._eventFunctions = eventFunctions;
|
||||
}
|
||||
Events.prototype.init = function () {
|
||||
var _this = this;
|
||||
this._eventFunctions.forEach(function (eventFunction) {
|
||||
if (typeof window !== 'undefined') {
|
||||
window.addEventListener(_this._eventType, eventFunction);
|
||||
}
|
||||
});
|
||||
};
|
||||
return Events;
|
||||
}());
|
||||
exports.default = Events;
|
||||
//# sourceMappingURL=events.js.map
|
1
node_modules/flowbite/lib/cjs/dom/events.js.map
generated
vendored
Normal file
1
node_modules/flowbite/lib/cjs/dom/events.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/dom/events.ts"],"names":[],"mappings":";;AAAA;IAII,gBAAY,SAAiB,EAAE,cAAoC;QAApC,+BAAA,EAAA,mBAAoC;QAC/D,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;IAC1C,CAAC;IAED,qBAAI,GAAJ;QAAA,iBAMC;QALG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,UAAC,aAAa;YACvC,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;gBAC/B,MAAM,CAAC,gBAAgB,CAAC,KAAI,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;aAC3D;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IACL,aAAC;AAAD,CAAC,AAhBD,IAgBC;AAED,kBAAe,MAAM,CAAC"}
|
Reference in New Issue
Block a user