Wordle Class Reference

Inheritance diagram for Wordle:
Visualization

List of all members.

Public Member Functions

 Wordle ($url, $clickable=false, $fn="")
 show ()

Static Public Member Functions

static init ()
static createDataFromText ($text)

Public Attributes

 $url = ""
 $width = "500"
 $height = "500"
 $clickable = "false"
 $fn = ""

Static Public Attributes

static $commonStubs = array('http', 'www')
static $stems = array()
static $a = 0

Member Function Documentation

Wordle::Wordle ( url,
clickable = false,
fn = "" 
)

Creates a new Wordle visualization

Parameters:
string $url The data url
boolean $clickable Whether or not the words should respond to click events (and hover events)
string $fn The javascript code to run when a word is clicked. A 'text' variable can be accessed for this code

The documentation for this class was generated from the following file:

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1