DataUrl

No summary available

Import
the javascript logo
import { DataUrl } from "@schukai/monster/source/types/dataurl.mjs";
Source
the git logo
Package
the npm logo
Since
1.8.0

Exported

DataUrl, parseDataURL

Derived from

Base

Options

The Options listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits Options from these parent classes. If you cannot find a specific Options in this list, we recommend consulting the documentation of the Base.

Option
Type
Default
Description
-/-

Properties

The Properties listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits Properties from these parent classes. If you cannot find a specific Properties in this list, we recommend consulting the documentation of the Base.

Methods

The methods listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits methods from these parent classes. If you cannot find a specific method in this list, we recommend consulting the documentation of the Base.

Constructor

constructor(content,mediatype,base64)
Parameters
  • content {string}: content
  • mediatype {string|mediatype}: mediatype
  • base64 {boolean}: base64=true

Static methods

[instanceSymbol]()2.1.0
Returns
  • {symbol}
This method is called by the instanceof operator.

Other methods

content()2.1.0
Returns
  • {symbol}
This method is called by the instanceof operator.
mediatype()2.1.0
Returns
  • {symbol}
This method is called by the instanceof operator.
toString()
Returns
  • {string}
toURL()
Returns
  • {url}: URL instance created from the string representation of the object.
Converts the current object to a URL instance.

Events

This component does not fire any public events. It may fire events that are inherited from its parent classes.

The current width of the area is too small to display the content correctly.