Skip to content

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

import type { HimalayaAttribute } from 'scenerystack/scenery';
  • key: string
  • value?: string

Type HimalayaElementNode

import type { HimalayaElementNode } from 'scenerystack/scenery';

Type HimalayaNode

import type { HimalayaNode } from 'scenerystack/scenery';
  • type: "element" | "comment" | "text"
  • innerContent: string

Type HimalayaTextNode

import type { HimalayaTextNode } from 'scenerystack/scenery';

Source Code

See the source for RichTextUtils.ts in the scenery repository.