Construct a new rendermime.
The options for initializing the instance.
The LaTeX typesetter for the rendermime.
The object used to handle path opening links.
The object used to resolve relative urls for the rendermime instance.
The sanitizer used by the rendermime instance.
The ordered list of mimeTypes.
Add a renderer factory to the rendermime.
The renderer factory of interest.
The rank of the renderer. A lower rank indicates
a higher priority for rendering. If not given, the rank will
defer to the defaultRank
of the factory. If no defaultRank
is given, it will default to 100.
The renderer will replace an existing renderer for the given mimeType.
Create a clone of this rendermime instance.
The options for configuring the clone.
A new independent clone of the rendermime.
Create a renderer for a mime type.
The mime type of interest.
A new renderer for the given mime type.
Get the renderer factory registered for a mime type.
The mime type of interest.
The factory for the mime type, or undefined
.
Get the rank for a given mime type.
The mime type of interest.
The rank of the mime type or undefined.
Find the preferred mime type for a mime bundle.
The bundle of mime data.
How to consider safe/unsafe factories. If 'ensure', it will only consider safe factories. If 'any', any factory will be considered. If 'prefer', unsafe factories will be considered, but only after the safe options have been exhausted.
The preferred mime type from the available factories,
or undefined
if the mime type cannot be rendered.
Remove a mime type.
The mime type of interest.
Set the rank of a given mime type.
The mime type of interest.
The new rank to assign.
This is a no-op if the mime type is not registered.
Generated using TypeDoc
An object which manages mime renderer factories. The namespace for
RenderMimeRegistry
class statics.This object is used to render mime models using registered mime renderers, selecting the preferred mime renderer to render the model into a widget.
Notes
This class is not intended to be subclassed.