ve.Wiki

ve.Component. ve.Wiki

Refer to ve.Component for methods or fields inherited from this Component's parent such as .options.attributes or .element.

Creates a wiki/ element that can be used for wiki embeds in applications.

  • Functional binding: veWiki().
Constructor:
  • arg0_value :string - The URL string of the wiki to target.
  • arg1_options: Object
    • .element_tag="webview": Either 'iframe'/'webview'.
    • .css_file_paths: Array<string> - The file path to inject as CSS for the target page.
    • .js_file_paths: Array<string> - The file path to inject as JS for the target page.
Instance:
  • .v: string
Methods:
  • applyScripts()

Extends

Members

v :string

Returns the current wiki URL.

  • Accessor of: ve.Wiki
Source:
Type:
  • string

v

Sets the wiki URL and attempts to load it.

  • Accessor of: ve.Wiki
Source:

from_binding

Internal .from_binding setter for handling .options.from_binding. Accepts a string literal that is then parsed to a variable reference.

.to_binding counterparts are manually handled child-side.

Overrides:
Source:

limit

Tests the current this.limit by calling this.limit_function(this.v, this). Otherwise resolves to true if no .options.limit is set.

Overrides:
Source:

name

Returns the visual name of the present ve.Component,

Overrides:
Source:

Methods

applyScripts()

Applies scripts to the