EDIT & COMMENT on high-level object interfaces
parent
46e28d5001
commit
7c99047c63
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
var Snap = (function() {
|
var Snap = (function() {
|
||||||
Snap.version = "0.0.1";
|
Snap.version = "0.0.1";
|
||||||
|
// SIERRA: this method appears to be missing from HTML output
|
||||||
/*\
|
/*\
|
||||||
* Snap
|
* Snap
|
||||||
[ method ]
|
[ method ]
|
||||||
|
@ -23,7 +24,7 @@ Snap.version = "0.0.1";
|
||||||
- width (number|string) width of surface
|
- width (number|string) width of surface
|
||||||
- height (number|string) height of surface
|
- height (number|string) height of surface
|
||||||
* or
|
* or
|
||||||
- dom (SVGElement) element to be wrapped into Snap structure
|
- DOM (SVGElement) element to be wrapped into Snap structure
|
||||||
* or
|
* or
|
||||||
- query (string) CSS query selector
|
- query (string) CSS query selector
|
||||||
= (object) @Element
|
= (object) @Element
|
||||||
|
@ -2369,6 +2370,7 @@ function make(name, parent) {
|
||||||
el.type = name;
|
el.type = name;
|
||||||
return el;
|
return el;
|
||||||
}
|
}
|
||||||
|
// SIERRA Is Paper() part of final interface, akin to Snap()? Document if so.
|
||||||
function Paper(w, h) {
|
function Paper(w, h) {
|
||||||
var res,
|
var res,
|
||||||
desc,
|
desc,
|
||||||
|
|
Loading…
Reference in New Issue