feat(plugins) allow for styles dynamic loading.
This commit is contained in:
parent
53f71aa34c
commit
4e17ac39eb
@ -43,6 +43,12 @@ export class OHIFPlugin {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (plugin.styleURLs && plugin.styleURLs.length) {
|
||||||
|
plugin.styleURLs.forEach(styleURLs => {
|
||||||
|
this.loadScript(styleURLs, "text/css");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
let scriptURL = plugin.url;
|
let scriptURL = plugin.url;
|
||||||
|
|
||||||
if (plugin.allowCaching === false) {
|
if (plugin.allowCaching === false) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user