BIUF

ve. BIUF

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

Single-line rich text editor with bold, italic, underline, and clear text formatting options.

Stands for Bold, Italic, Underline, Formatting.

  • Functional binding: veBIUF().
Constructor:
  • arg0_value: string - The HTML content to initialise the component with.
  • arg1_options: Object
    • .disabled=false: boolean - Controls the .readonly attribute.
Instance:
  • .v: string - Returns an HTML string.
Methods:
  • handleBIUF(arg0_biuf_el:HTMLElement)
  • initBIUFToolbar()
  • sendOnchangeEvent()

Constructor

new BIUF()

Source:

Extends

Members

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:

v

Returns the current HTML content in the present Component.

  • Accessor of ve.ComponentBIUF
Source:

v

Sets the HTML content value for ve.ComponentBIUF

  • Accessor of ve.ComponentBIUF
Source:

Methods

addComponent()

Adds the current component to this.parent_el should it exist.

Overrides:
Source:

bind(arg0_container_el)

Manually binds/mounts the present ve.Component into the visual DOM.

Overrides:
Source:
Parameters:
Name Type Description
arg0_container_el HTMLElement

fireFromBinding()

Pseudo-setter from binding. Fires only upon program-driven changes to .v directly, which means that this has to be monitored manually component-side in set v(). This should always come last in set v().

Overrides:
Source:

fireToBinding()

Pseudo-setter to binding. Fires only upon user-driven changes, which means that this has to be monitored manually component-side.

Overrides:
Source:

handleBIUF(arg0_biuf_el)

Initialises all event handlers for BIUF buttons and keybinds.

  • Method of: ve.ComponentBIUF
Source:
Parameters:
Name Type Description
arg0_biuf_el HTMLElement

The mounted BIUF element.

initBIUFToolbar()

Initialises the present BIUF toolbar.

  • Method of: ve.ComponentBIUF
Source:

remove()

Removes the component/element from the DOM.

Overrides:
Source:

removeComponent()

Removes the current component from this.parent_el should it exist.

Overrides:
Source:

sendOnchangeEvent()

Fires an onuserchange event whilst synchronising the present value.

  • Method of: ve.ComponentBIUF
Source:

setOwner(arg0_value, arg1_owner_array)

Sets the root parent and ownership tree. Influences this.parent_el, this.owner, this.owners.

Overrides:
Source:
Parameters:
Name Type Description
arg0_value
arg1_owner_array