Resource

API ReferenceResourcesResource

Source


Resource.fromJSON()

Static method of
Resource
Parameters
  • json — Object or String
Returns
Resource

Source


Resource.parseFileName()

Static method of
Resource
Parameters
  • name — String
Returns
Object

Source


file

Type
String
Default
''

color

Type
String
Default
''

width

Type
Float
Default
0

height

Type
Float
Default
0

formats

Type
Array

resolutions

Type
Array

paths

Type
Object

resolve()

Parameters
  • uri — Stringoptional
  • request — Objectoptional
Returns
String

Source


toJSON()

Returns
Object

Source

results matching ""

    No results matching ""