Members
# defaults
Properties
Name | Type | Description |
---|---|---|
rel |
string | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel |
This class is used by the resource manager to embed external resources.
You can call the method via the monster namespace new Monster.DOM.Resource.Link.Stylesheet()
.
<script type="module">
import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/resource/link/stylesheet.js';
new Monster.DOM.Resource.Link.Stylesheet()
</script>
Alternatively, you can also integrate this function individually.
<script type="module">
import {Style} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/resource/link/stylesheet.js';
new Stylesheet()
</script>
Name | Type | Description |
---|---|---|
rel |
string | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel |