diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-11-13 09:29:00 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 09:29:00 +1000 |
commit | 9986cefa00f6261ab1ffca9911a4df74167fe217 (patch) | |
tree | 98879901db802cf39ef30c95d37fc892e144a972 | |
parent | 99e176f76332b47a6c026dbd9dcf7742191b8b29 (diff) | |
parent | 41abdfb0667bf4f1b3d709f1f99874addfe99cb7 (diff) | |
download | svg.js-9986cefa00f6261ab1ffca9911a4df74167fe217.tar.gz svg.js-9986cefa00f6261ab1ffca9911a4df74167fe217.zip |
Merge pull request #1167 from melon3r/patch-1
Add style() to Container on TS bindings
-rw-r--r-- | svg.js.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index c347d4d..a34354e 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -1094,6 +1094,7 @@ declare module "@svgdotjs/svg.js" { polygon(points?: PointArrayAlias): Polygon;
polyline(points?: PointArrayAlias): Polyline;
rect(width?: number, height?: number): Rect;
+ style(): Style;
text(block: (tspan: Tspan) => void): Text;
text(text: string): Text;
ungroup(parent: Dom, depth?: number): this;
|