Options
All
  • Public
  • Public/Protected
  • All
Menu

Module plugins

The plugins module provides abstraction / base classes for jQuery plugins and some constructor/destructor stuff. jQuery plugins can either be created extending the Plugin class or if the jQuery UI Widget Factory is preferred, using the Widget class. ```typescript export class MySuperWidget extends Widget {

} ```

Index

Variables

hljs

namespacePrefix

namespacePrefix: string

Functions

destroySlimScroll

  • destroySlimScroll(el: any): void

highlight

  • highlight(code: string, lang?: string, wrap?: boolean, wrapPre?: boolean): PromiseInterface<string>

initHighlight

  • initHighlight(): void

makeRegOptions

makeSlimScroll

  • makeSlimScroll(el: any, opts?: any): void

registerHelperPlugins

  • registerHelperPlugins(): void

registerPlugin

  • registerPlugin(name: string, pluginClass: any): void

Object literals

defaultRegOpts

defaultRegOpts: object

callback

callback: any

loadPath

loadPath: string