before(element: Element): Element;\r
center(x: number, y: number): this;\r
classes(): string[];\r
- click(cb: Function): this;\r
+ click(cb: Function | null): this;\r
clipper(): ClipPath;\r
clipWith(element: Element): this;\r
clone(): this;\r
data(name: string, value: any, sustain?: boolean): this;\r
data(name: string): any;\r
data(val: Object): this;\r
- dblclick(cb: Function): this;\r
+ dblclick(cb: Function | null): this;\r
defs(): Defs;\r
dmove(x: NumberAlias, y: NumberAlias): this;\r
dx(x: NumberAlias): this;\r
matrix(mat: MatrixAlias, b?: number, c?: number, d?: number, e?: number, f?: number): this;\r
matrixify(): Matrix;\r
memory(): Object;\r
- mousedown(cb: Function): this;\r
- mousemove(cb: Function): this;\r
- mouseout(cb: Function): this;\r
- mouseover(cb: Function): this;\r
- mouseup(cb: Function): this;\r
+ mousedown(cb: Function | null): this;\r
+ mousemove(cb: Function | null): this;\r
+ mouseout(cb: Function | null): this;\r
+ mouseover(cb: Function | null): this;\r
+ mouseup(cb: Function | null): this;\r
move(x: NumberAlias, y: NumberAlias): this;\r
native(): LinkedHTMLElement;\r
next(): Element;\r
toggleClass(name: string): this;\r
toParent(parent: Dom): this;\r
toSvg(): this;\r
- touchcancel(cb: Function): this;\r
- touchend(cb: Function): this;\r
- touchleave(cb: Function): this;\r
- touchmove(cb: Function): this;\r
- touchstart(cb: Function): this;\r
+ touchcancel(cb: Function | null): this;\r
+ touchend(cb: Function | null): this;\r
+ touchleave(cb: Function | null): this;\r
+ touchmove(cb: Function | null): this;\r
+ touchstart(cb: Function | null): this;\r
transform(): MatrixExtract;\r
transform(t: MatrixAlias, relative?: boolean): this;\r
translate(x: number, y: number): this;\r
class Circle extends Shape implements CircleMethods {\r
constructor(node?: SVGCircleElement);\r
constructor(attr: CircleAttr)\r
- \r
+\r
node: SVGCircleElement;\r
\r
rx(rx: number): this;\r
class Path extends Shape {\r
constructor(attr: PathAttr)\r
constructor(node?: SVGPathElement);\r
- \r
+\r
node: SVGPathElement;\r
\r
morphArray: PathArray;\r
morph(x: number, y: number, width: number, height: number): ViewBox;\r
at(pos: number): ViewBox;\r
}\r
-}
\ No newline at end of file
+}\r