2024-04-15 09:17:29 +00:00
|
|
|
export default {
|
|
|
|
_loadedStyleNames: new Set(),
|
|
|
|
getLoadedStyleNames() {
|
|
|
|
return this._loadedStyleNames;
|
|
|
|
},
|
|
|
|
isStyleNameLoaded(name) {
|
|
|
|
return this._loadedStyleNames.has(name);
|
|
|
|
},
|
|
|
|
setLoadedStyleName(name) {
|
|
|
|
this._loadedStyleNames.add(name);
|
|
|
|
},
|
|
|
|
deleteLoadedStyleName(name) {
|
|
|
|
this._loadedStyleNames.delete(name);
|
|
|
|
},
|
|
|
|
clearLoadedStyleNames() {
|
|
|
|
this._loadedStyleNames.clear();
|
|
|
|
}
|
|
|
|
};
|