Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebComponentExportPlugin

Generates the web component html that makes it possible to embed Argdown maps into html files. The result ist stored in the IArgdownResponse.webComponent response object property.

Depends on data from: [[DotToSvgExportPlugin]] or [[SyncDotSvgExportPlugin]] and HighlightSourcePlugin

Hierarchy

  • WebComponentExportPlugin

Implements

Index

Constructors

constructor

Properties

defaults

name

name: string = "WebComponentExportPlugin"

The name of the plugin

prepare

prepare: IRequestHandler = ...

Called each time the plugin's processor is run, before any other method of this plugin is called. Use this to add default settings to the request and to check that all required data is present in the response. If not, throw an ArgdownPluginError to cancel the the current processor's execution.

run

run: IRequestHandler = ...

Use this method to do the main work outside of the Argdown AST. This is the last method to be called by the ArgdownApplication.

Methods

createFigureCaption

getSettings

Generated using TypeDoc