Constructor
new Script()
A Resource class
- Since
- 1.25.0
- Copyright
- schukai GmbH
- License
- AGPLv3
Members
defaults
PropertiesName | Type | Default | Description |
---|---|---|---|
async | boolean | true | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-async |
crossOrigin | string | anonymous | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-crossorigin |
defer | boolean | false | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-defer |
integrity | string | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-integrity | |
nomodule | boolean | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-nomodule | |
nonce | string | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-nonce | |
referrerpolicy | string | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-referrerpolicy | |
type | string | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type |
(static) instanceSymbol
This method is called by the
instanceof
operator.This method is called by the instanceof
operator.
- Since
- 2.1.0
Methods
create() → {Monster.DOM.Resource.Script}
Returns:
(static) getURLAttribute() → {string}
Returns:
- Type:
- string