dart / 1 / dart-html / element / element.img.html

Element.img factory constructor

Element.img()

Creates a new <img> element.

This is equivalent to calling new Element.tag('img').

Source

factory Element.img() => new Element.tag('img');

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Element/Element.img.html