pub.leaflet.pages.canvas

Repository @leaflet.pub did:plc:btxrwcaeyodrap5mnjw2fvmz namespace authority
Details · object
Kindobject
Authoritypages.leaflet.pub
Indexed

Showing version bafyreie4woxmfnq57l4wh2cmatnom6und7qgqvwes63xll33pdrt6gbhw4. Show the latest

Object

object

Properties

blocks

requiredarray
itemsref
Reference

height

integer

Fixed canvas height in canvas px; see width.

id

string

Viewers cannot zoom the canvas or scroll it sideways: no wheel, pinch, double-tap or zoom controls, and the initial framing (see mobileView) stays. Vertical scrolling is unaffected.

How a narrow viewport frames the canvas: the whole canvas scaled to fit the width (unconstrained, the default), or a phone-width area anchored to the canvas's left edge or centered on it, shown at up to 1:1.

  • knownValues: unconstrained | left | center

width

integer

Fixed canvas width in canvas px. With height, bounds the canvas: blocks are clipped to the area. Absent, the canvas is 1272px wide and grows with its content.

#block

object

#position

object

Properties

block

requiredarray
itemsinteger

offset

requiredinteger

#quote

object

Properties

end

requiredref
Reference

start

requiredref
Reference

#textAlignCenter

token

#textAlignLeft

token

#textAlignRight

token

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.