Members
# defaults
Properties
Name | Type | Default | Description |
---|---|---|---|
mode |
string | cors | https://developer.mozilla.org/en-US/docs/Web/API/fetch |
credentials |
string | same-origin | https://developer.mozilla.org/en-US/docs/Web/API/fetch |
type |
string | application/json | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type |
Methods
# (static) getURLAttribute() → {string}
Returns:
- Type
- string
# connect() → {Monster.DOM.Resource}
This method appends the HTMLElement to the specified document
throws {Error} target not found
Returns:
- Type
- Monster.DOM.Resource
# create() → {Monster.DOM.Resource.Data}
Returns: