Namespace: multicolumn

Marked.multicolumn

Methods for handling horizontal (multi-column) mode

Requires

Methods

destroy()

Remove handlers for window resize in horizontal mode

fix()

Force fix of scroll position after manual window scroll

resize()

Set up handlers for window resize in horizontal mode

scroll(fwd, mult)

Scroll left and right in horizontal mode

Parameters:
Name Type Description
fwd boolean

Move forward (true) or backward (false)

mult number

Number of columns to scroll

showImage(img)

Show full size version of image as overlay

Parameters:
Name Type Description
img object

The image element to display