css.properties

stroke-dasharray

The stroke-dasharray property specifies the pattern of dashes in SVG strokes.

Formal Syntax

none | [<length-percentage> | <number>]+#

See specification

JavaScript Access

// Access via element.style
element.style.strokeDasharray = 'none';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
stroke-dasharray11.54โ‰ค15
none11.54โ‰ค15

Related Properties