Beta
Private
constructorOptional
Readonly
authorReadonly
contentsReadonly
isReadonly
isReadonly
pageReadonly
rawThe contents of pages in the book that are in RawMessage format. Entries not in RawMessage format will be undefined.
Optional
Readonly
titleReadonly
typeStatic
Readonly
componentThe index of the page.
The content of the page if a valid index is provided and it is in string format, otherwise returns undefined.
The index of the page.
The content of the page if a valid index is provided and it is in RawMessage format, otherwise returns undefined.
Gets the RawMessage format content of a page for a given index.
The index of the page.
The content to set for the page. Can be a single string or RawMessage or an array of strings and/or RawMessages
Inserts a page at a given index. Empty pages will be created if the index is greater than the current book size. Pages have a maximum limit of 256 characters for strings as well as the JSON representation of a RawMessage. Books have a maximum limit of 50 pages.
This function can't be called in read-only mode.
An array of each page's contents. Each page can be a single string or RawMessage or an array of strings and/or RawMessages.
Sets the contents of the book's pages. Pre-existing pages will be cleared. Pages have a maximum limit of 256 characters for strings as well as the JSON representation of a RawMessage. Books have a maximum limit of 50 pages.
This function can't be called in read-only mode.
The index of the page.
The content to set for the page. Can be a single string or RawMessage or an array of strings and/or RawMessages
Sets or creates the content of a specific page. Empty pages will be created if the index is greater than the current book size. Pages have a maximum limit of 256 characters for strings as well as the JSON representation of a RawMessage. Books have a maximum limit of 50 pages.
This function can't be called in read-only mode.
The title to give the book.
The name of the book's author.
When present on an item, this item is a book item. Can access and modify the contents of the book and sign it.