W3cubDocs

/Haxe JavaScript

MimeType

package js.html

Available on js

The MimeType interface provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object.

Documentation MimeType by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

read onlydescription:String

Returns a description of the associated plugin or an empty string if there is none.

read onlyenabledPlugin:Plugin

Returns an instance of Plugin containing information about the plugin itself.

read onlysuffixes:String

A string containing valid file extensions for the data displayed by the plugin, or an empty string if an extension is not valid for the particular module. For example, a browser's content decryption module may appear in the plugin list, but support more file extenions than can be anticipated. It might therefore return an empty string.

read onlytype:String

Returns the MIME type of the associated plugin.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MimeType.html