Link

Monster.DOM.Resource. Link

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().

<script type="module">
import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/monster.js';
new Monster.DOM.Resource.Link()
</script>

Alternatively, you can also integrate this function individually.

<script type="module">
import {Link} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/modules/dom/resource/link.js';
new Link()
</script>

Constructor

A Resource class

Since:
  • 1.25.0

Members

# defaults

Properties

Methods

# (static) getURLAttribute() → {string}

Returns:
Type
string

# create() → {Monster.DOM.Resource.Link}