pub.leaflet.pages.canvas
Details · object
| Kind | object |
|---|---|
| Authority | pages.leaflet.pub |
| Indexed |
Object
objectProperties
background
refheight
integerFixed canvas height in canvas px; see width.
id
stringlockViewerZoom
booleanViewers 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.
mobileView
stringHow 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
pattern
stringThe guide pattern drawn over the canvas's background, under its blocks. Absent, a canvas that grows with its content shows the grid and a fixed-size canvas is plain.
knownValues: grid | dot | plain
theme
refwidth
integerFixed canvas width in canvas px. With height, bounds the canvas: blocks are clipped to the area. Absent, the canvas grows with its content and is 1272px wide, or as wide as the inside of the publication's page (its theme's pageWidth) when it is one of a publication's pages.
#background
objectAn image tiled across the canvas, under its guide pattern and blocks.
#block
objectProperties
alignment
stringAlignment of a single block's content. A linear document's blocks carry their own.
knownValues: lex:pub.leaflet.pages.linearDocument#textAlignLeft | lex:pub.leaflet.pages.linearDocument#textAlignCenter | lex:pub.leaflet.pages.linearDocument#textAlignRight | lex:pub.leaflet.pages.linearDocument#textAlignJustify
A single block, or a linear document: blocks grouped in reading order that are positioned, sized and rotated on the canvas as one.
- pub.leaflet.blocks.iframe
- pub.leaflet.blocks.html
- pub.leaflet.blocks.text
- pub.leaflet.blocks.blockquote
- pub.leaflet.blocks.header
- pub.leaflet.blocks.image
- pub.leaflet.blocks.imageGallery
- pub.leaflet.blocks.unorderedList
- pub.leaflet.blocks.orderedList
- pub.leaflet.blocks.website
- pub.leaflet.blocks.math
- pub.leaflet.blocks.code
- pub.leaflet.blocks.horizontalRule
- pub.leaflet.blocks.bskyPost
- pub.leaflet.blocks.standardSitePost
- pub.leaflet.blocks.standardSitePublication
- pub.leaflet.blocks.page
- pub.leaflet.blocks.embeddedCanvas
- pub.leaflet.blocks.poll
- pub.leaflet.blocks.button
- pub.leaflet.blocks.postsList
- pub.leaflet.blocks.signup
- pub.leaflet.blocks.recommendedPubs
- pub.leaflet.blocks.reply
- pub.leaflet.blocks.questions
- pub.leaflet.blocks.membersOnlyDelimiter
- pub.leaflet.blocks.postHeader
- pub.leaflet.blocks.drawing
- pub.leaflet.pages.linearDocument
height
integerrotation
integerThe rotation of the block in degrees
stackOrder
stringFractional index ordering this block against its siblings on the z axis. Blocks without one stack below every block with one, ordered by position.
#position
object#quote
object#textAlignCenter
token#textAlignLeft
token#textAlignRight
tokenSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A fixed-size canvas shown in full inline. id refers to a pub.leaflet.pages.canvas in the document's pages whose width and height bound it.
-
pub.leaflet.blocks.html
object -
pub.leaflet.blocks.image
object