Skip to content

cupertino-files / buildNumberAttachment

Function: buildNumberAttachment()

buildNumberAttachment(store, component, options?): IwaObject

Defined in: src/tswp/fields.ts:116

Build the archive that renders a page number or page count.

Reproduces the field set Apple writes: a super carrying the kind and an empty string_equivalent, plus the format code and its name. The rendered value (string_value) is left out — see the module note.

Parameters

store

ObjectStore

component

Component

options?

NumberAttachmentOptions = {}

Returns

IwaObject

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.