Constructor
new Data()
A Data Resource class
- Since
- 1.25.0
- Copyright
- schukai GmbH
- License
- AGPLv3
Members
defaults
PropertiesName | 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 |
(static) instanceSymbol
This method is called by the
instanceof
operator.This method is called by the instanceof
operator.
- Since
- 2.1.0
Methods
connect() → {Monster.DOM.Resource}
This method appends the HTMLElement to the specified document
throws {Error} target not found
.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:
(static) getURLAttribute() → {string}
Returns:
- Type:
- string