Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
package.dist.prod.theming.ThemeLoaded.js.map Maven / Gradle / Ivy
{
"version": 3,
"sources": ["../../../src/theming/ThemeLoaded.ts"],
"sourcesContent": ["import EventProvider from \"../EventProvider.js\";\n\ntype ThemeLoadedCallback = (theme: string) => void;\n\nconst eventProvider = new EventProvider();\nconst THEME_LOADED = \"themeLoaded\";\n\nconst attachThemeLoaded = (listener: ThemeLoadedCallback) => {\n\teventProvider.attachEvent(THEME_LOADED, listener);\n};\n\nconst detachThemeLoaded = (listener: ThemeLoadedCallback) => {\n\teventProvider.detachEvent(THEME_LOADED, listener);\n};\n\nconst fireThemeLoaded = (theme: string) => {\n\treturn eventProvider.fireEvent(THEME_LOADED, theme);\n};\n\nexport {\n\tattachThemeLoaded,\n\tdetachThemeLoaded,\n\tfireThemeLoaded,\n};\n"],
"mappings": "aAAA,OAAOA,MAAmB,sBAI1B,MAAMC,EAAgB,IAAID,EACpBE,EAAe,cAEfC,EAAqBC,GAAkC,CAC5DH,EAAc,YAAYC,EAAcE,CAAQ,CACjD,EAEMC,EAAqBD,GAAkC,CAC5DH,EAAc,YAAYC,EAAcE,CAAQ,CACjD,EAEME,EAAmBC,GACjBN,EAAc,UAAUC,EAAcK,CAAK,EAGnD,OACCJ,KAAA,kBACAE,KAAA,kBACAC,KAAA",
"names": ["EventProvider", "eventProvider", "THEME_LOADED", "attachThemeLoaded", "listener", "detachThemeLoaded", "fireThemeLoaded", "theme"]
}