Skip to content

Latest commit

 

History

History
88 lines (48 loc) · 2.38 KB

SvgAbstractTimedDrawableAttributes.md

File metadata and controls

88 lines (48 loc) · 2.38 KB

transport-network-animator / SvgAbstractTimedDrawableAttributes

Interface: SvgAbstractTimedDrawableAttributes

There is no need to access this interface and its child interfaces and classes directly. The attributes documented here should be used in the SVG code as attributes to the respective SVG element tags, while converting the attribute name from camelCase to data-kebap-case.

Hierarchy

Table of contents

Properties

Properties

from

from: Instant

Indicates when this element shall appear.

Pattern: (?<epoch>\d+) (?<second>\d+)(?<flag> [\w-]+)? e.g. 2020 5 noanim-nozoom

epoch: Epochs will be executed in order. Years can be used as epochs. second: Seconds reset to 0 with every epoch. flag: Optional. reverse, noanim, nozoom, keepzoom. Can be combined with -.

See further explanations in root Readme.

SVG: data-from

Defined in

svg/SvgApi.ts:31


name

name: string

The name. In certain circumstances, this will be used a grouping identifier.

SVG: name, the standard SVG name attribute

Defined in

svg/SvgApi.ts:16


to

to: Instant

Indicates when this element shall disappear.

Pattern: (?<epoch>\d+) (?<second>\d+)(?<flag> [\w-]+)? e.g. 2020 5 noanim-nozoom

epoch: Epochs will be executed in order. Years can be used as epochs. second: Seconds reset to 0 with every epoch. flag: Optional. reverse, noanim, nozoom, keepzoom. Can be combined with -.

See further explanations in root Readme.

SVG: data-to

Defined in

svg/SvgApi.ts:46