new Linotype()
A module that represents a Linotype object, a Linotyper is a page composition tool.
- Copyright:
- Copyright (c) 2014 Typesettin. All rights reserved.
- 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 optionsobject configuration options
- Source:
Fires:
- event:- init
-
initEventListeners()
-
Sets up a new lintotype component.
- Source:
-
moveSection(options)
-
Shift section
Parameters:
Name Type Description optionsobject move direction options
- Source:
-
moveSectionDown(moveOptions)
-
Move Section down Shortcut.
Parameters:
Name Type Description moveOptionsobject only move if there is not an internal element with a scroll
- Source:
-
moveSectionUp(moveOptions)
-
Move Section up Shortcut.
Parameters:
Name Type Description moveOptionsobject only move if there is not an internal element with a scroll
- Source:
-
section(sectionIndex)
-
Move Section down Shortcut.
Parameters:
Name Type Description sectionIndexnumber index of section ot jump to
- Source: