mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Add some missing methods to Element class
This commit is contained in:
parent
93cdf199a5
commit
b77325fd0c
9
jointjs/index.d.ts
vendored
9
jointjs/index.d.ts
vendored
@ -156,6 +156,15 @@ declare namespace joint {
|
||||
findView(paper: Paper): ElementView;
|
||||
isElement(): boolean;
|
||||
scale(scaleX: number, scaleY: number, origin?: Point, options?: any): this;
|
||||
addPort(port: any, opt?: any): this;
|
||||
addPorts(ports: any[], opt?: any): this;
|
||||
removePort(port: any, opt?: any): this;
|
||||
hasPorts(): boolean;
|
||||
hasPort(id: string): boolean;
|
||||
getPorts(): any[];
|
||||
getPort(id: string): any;
|
||||
getPortIndex(port: any): number;
|
||||
portProp(portId: string, path: any, value?: any, opt?: any): joint.dia.Element;
|
||||
}
|
||||
|
||||
interface CSSSelector {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user