Skip to main content

FormattedAtomInsertable Interface

Insertable shape for a formatted text atom used by insertWithFormattingAt(index, additionalCharacters).

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Input

This type is "input," meaning that code outside of the library defining it should not read from it. Future versions of this type may add optional members or make typing of members more general.

Signature

interface FormattedAtomInsertable<TFormat, TContent>

Type Parameters

ParameterDescription
TFormat
TContent

Properties

PropertyAlertsModifiersTypeDescription
contentAlphareadonlyTContent
formatAlphareadonlyTFormat

Property Details

content

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

readonly content: TContent;

Type: TContent

format

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

readonly format: TFormat;

Type: TFormat