Skip to main content

ImageMediaType

String in this case is a base64 string

Extends

Constructors

Constructor

new ImageMediaType(options): ImageMediaType;

Parameters

ParameterType
optionsAbstractMediaTypeOptions

Returns

ImageMediaType

Inherited from

AbstractMediaType.constructor

Properties

PropertyModifierTypeInherited from
optionsreadonlyAbstractMediaTypeOptionsAbstractMediaType.options

Accessors

workspaceStore

Inherited from

AbstractMediaType.workspaceStore

Methods

generateMedia()

generateMedia(options): ImageMedia;

Parameters

ParameterType
optionsGenerateMediaOptions

Returns

ImageMedia

Overrides

AbstractMediaType.generateMedia


generateModel()

generateModel(media): ImageMediaPanelModel;

Parameters

ParameterType
mediaImageMedia

Returns

ImageMediaPanelModel

Overrides

AbstractMediaType.generateModel


generatePanelFactory()

generatePanelFactory(): ReactorPanelFactory;

Returns

ReactorPanelFactory

Overrides

AbstractMediaType.generatePanelFactory


matches()

matches(options): boolean;

Parameters

ParameterType
optionsMediaTypeMatcher

Returns

boolean

Inherited from

AbstractMediaType.matches


matchesMime()

matchesMime(mime?): boolean;

Parameters

ParameterType
mime?string

Returns

boolean

Inherited from

AbstractMediaType.matchesMime


openMedia()

openMedia(media): void;

Parameters

ParameterType
mediaImageMedia

Returns

void

Inherited from

AbstractMediaType.openMedia