pub.leaflet.pages.canvas
Details · object
| Kind | object |
|---|---|
| Authority | pages.leaflet.pub |
| Indexed |
Showing version bafyreieujs5jjk6w65bwo7y53vl3kvoiqueqdwji43ddnu3tz26mo226aa. Show the latest
Object
objectProperties
height
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
width
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.
#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.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