All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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"]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy