메소드 |
설명 |
|
AddEventHandler ( &$array, $evt, $code ) |
Adds an inline event handler to an element's array |
|
AddFunction ( $name ) |
Adds a javascript function |
|
AddOverlay ( $from, $to ) |
Add an overlaid copy of an element, with opacity of 0 |
|
AutoHide ( &$element ) |
Makes something auto-hide |
|
GetFunctions ( ) |
Returns the functions as Javascript code |
|
GetOnload ( ) |
Returns the onload code to use for the SVG |
|
GetVariables ( ) |
Returns the variables (and comments) as Javascript code |
|
InsertComment ( $details ) |
Insert a comment into the Javascript section - handy for debugging! |
|
InsertFunction ( $name, $fn ) |
Inserts a Javascript function into the list |
|
InsertVariable ( $var, $value, $more = NULL, $quote = TRUE ) |
Adds a Javascript variable
- use $value:$more for assoc
- use NULL:$more for array |
|
SetDraggable ( &$element ) |
Makes an item draggable |
|
SetFader ( &$element, $in, $out, $target = NULL, $duplicate = FALSE ) |
Sets the fader for an element |
|
SetTooltip ( &$element, $text, $duplicate = FALSE ) |
Sets the tooltip for an element |
|
__construct ( &$settings, &$graph ) |
Constructor takes array of settings and graph instance as arguments |
|
__get ( $name ) |
Return the settings as properties |
|