Skip to content

RichTextLink

Overview

A link node in RichText - NOTE: This is NOT embedded for layout. Instead, link content will be added as children to this node, and this will exist solely for the link functionality.

@author Jonathan Olson <jonathan.olson@colorado.edu>

import { RichTextLink } from 'scenerystack/scenery';

Constructor

Instance Methods

initialize( innerContent : string, href : RichTextHref, initializeSuper ) : this

Set up this state. First construction does not need to use super.initialize() because the constructor has done that for us. But repeated initialization with Poolable will need to initialize super again.

clean()

Cleans references that could cause memory leaks (as those things may contain other references).

freeToPool()

Static Properties

pool : Pool

(readonly)

Source Code

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