RichTextUtils¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/util/rich-text/RichTextUtils.ts for the most up-to-date information.
Overview¶
Utilities and globals to support RichText
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type HimalayaAttribute¶
Types for Himalaya
- key: string
- value?: string
Type HimalayaElementNode¶
- type: "element"
- tagName: string
- children: HimalayaNode[]
- attributes: HimalayaAttribute[]
- innerContent?: string
- & HimalayaNode
Type HimalayaNode¶
- type: "element" | "comment" | "text"
- innerContent: string
Type HimalayaTextNode¶
- type: "text"
- content: string
- & HimalayaNode
Source Code¶
See the source for RichTextUtils.ts in the scenery repository.