소스 검색

Merge pull request #1201 from josepaiva94/types

Types for Style
tags/3.1.0
Ulrich-Matthias Schäfer 3 년 전
부모
커밋
61034e3d06
No account linked to committer's email address
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10
    0
      svg.js.d.ts

+ 10
- 0
svg.js.d.ts 파일 보기

plot(d: string): this plot(d: string): this
track(): Path track(): Path
} }
// style.js
class Style extends Element {
constructor(node: SVGElement, attr?: StylingAttr);
addText(text: string): this;
font(a: object): this
font(a: string, v: string | number): this
font(a: string): string
rule(selector: string, obj: any): this;
}
// use.js // use.js
class Use extends Shape { class Use extends Shape {

Loading…
취소
저장