Skip to content

a11ydocs v1.7.0


a11ydocs / JsonBlock

Type Alias: JsonBlock

ts
type JsonBlock = 
  | Exclude<TemplateBlock, TemplateImageBlock>
  | JsonImageBlock & object;

Defined in: src/document-json.ts:113

A block in blocks: a flow template block (image blocks use src). Add a BlockPosition to any positionable block (paragraph, an image, rect, textField, checkBox, signatureField) to place it at absolute coordinates instead of flowing.

Type Declaration

position?

ts
readonly optional position?: BlockPosition;

Released under the ISC license.