Class DefaultTheme

Default theme implementation of TypeDoc. If a theme does not provide a custom Theme implementation, this theme class will be used.

Hierarchy

Constructors

Properties

componentName: string

The name of this component as set by the

Component

decorator.

markedPlugin: MarkedPlugin
URL_PREFIX: RegExp = ...

Accessors

Methods

  • Trigger one or many events, firing all bound callbacks. Callbacks are passed the same arguments as trigger is, apart from the event name (unless you're listening on "all", which will cause your callback to receive the true name of the event as the first argument).

    Parameters

    Returns DefaultTheme

  • Return a url for the given reflection.

    Returns

    The generated url.

    Parameters

    • reflection: Reflection

      The reflection the url should be generated for.

    • Optional relative: Reflection

      The parent reflection the url generation should stop on.

    • separator: string = "."

      The separator used to generate the url.

    Returns string

  • Transform a space separated string into a string suitable to be used as a css class, e.g. "constructor method" > "constructor-method".

    Parameters

    • str: string

    Returns string

Generated using TypeDoc