Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "svg"

Index

Functions

Functions

Const svg

  • svg(attribs: any, ...body: any[]): any[]
  • Defines an root element with default XML namespaces. By default currently still sets SVG version to 1.1 to support Safari and other legacy tooling.

    Parameters

    • attribs: any

      attributes object

    • Rest ...body: any[]

      shape primitives

    Returns any[]

Generated using TypeDoc