MRHyperlinkEntity

Classes

MRHyperlinkEntityMRTextEntity

3D representation of a hyperlink. mr-a

Functions

_createLink()

Creates the link object if it's not already created and handles the href and target attributes.

href()string

Grabs the href of the link object

href(src_str)

Sets the href of the link object

connected()

(async) makes sure the link object is created and sets up event listeners for touchstart and click.

MRHyperlinkEntity ⇐ MRTextEntity

3D representation of a hyperlink. mr-a

Kind: global class
Extends: MRTextEntity

Creates the link object if it’s not already created and handles the href and target attributes.

Kind: global function

href() ⇒ string

Grabs the href of the link object

Kind: global function
Returns: string - the href value

href(src_str)

Sets the href of the link object

Kind: global function

Param Type Description
src_str string the new href value

connected()

(async) makes sure the link object is created and sets up event listeners for touchstart and click.

Kind: global function