Class: Linotype

Linotype

new Linotype()

A module that represents a Linotype object, a Linotyper is a page composition tool.

Author:
  • Yaw Joseph Etse
License:
  • MIT
Source:
Requires:
  • module:classie
  • module:util-extent
  • module:util
  • module:events

Requires

  • module:classie
  • module:util-extent
  • module:util
  • module:events

Members

<inner> defaults

module default configuration

Source:

Methods

config() → {object}

Returns current linotype config element.

Source:
Returns:
  • linotype instance configuration object
Type
object

init(options)

Sets up a new lintotype component.

Parameters:
Name Type Description
options object

configuration options

Source:
Fires:
  • event:- init

initEventListeners()

Sets up a new lintotype component.

Source:

moveSection(options)

Shift section

Parameters:
Name Type Description
options object

move direction options

Source:

moveSectionDown(moveOptions)

Move Section down Shortcut.

Parameters:
Name Type Description
moveOptions object

only move if there is not an internal element with a scroll

Source:

moveSectionUp(moveOptions)

Move Section up Shortcut.

Parameters:
Name Type Description
moveOptions object

only move if there is not an internal element with a scroll

Source:

section(sectionIndex)

Move Section down Shortcut.

Parameters:
Name Type Description
sectionIndex number

index of section ot jump to

Source: