var svg = new innovaphone.ui1.Svg("width: 128px; height: 128px; fill: black;", "test.svg#" + icon, null); out.appendChild(svg.container);

# innovaphone.ui1.Svg(style, url, cl)

## Constructor

Creates an SVG image loaded from an external file.

style
  Style attribute for the outer html. Useful values are width, height and fill.
url
  The URL of the SVG file. Use a frament identifier (#xyz) to reference a specific path inside the SVG.
cl
  The CSS class to be applied to the outer element.

## properties

setUrl(value)
  Sets the a new SVG url. This method can be used to change the displayed image after the object has been created.

# innovaphone.ui1.SvgInline(style, viewbox, code, cl)

## Constructor

Creates an inline SVG image.

style
  Style attribute for the outer html. Useful values are width, height and fill.
viewbox
  The viewbox for the image code, e.g. "0 0 32 32".
code
  The inner SVG code, e.g. "<path d=\"M13.5,28.5V19.68h5V28.5h6.25V16.74H28.5L16,3.5,3.5,16.74H7.25V28.5Z\" />".
cl
  The CSS class to be applied to the outer element.

## properties

setCode(value)
  Changes the inner SVG code.