Spec-Zone.ru › Dart 2

dart:svg

isTagSupported static method

bool isTagSupported(
  1. String tag
)
override

Checks to see if the SVG element type is supported by the current platform.

The tag should be a valid SVG element tag name.

Implementation

static bool isTagSupported(String tag) {
  var e = new SvgElement.tag(tag);
  return e is SvgElement && !(e is UnknownElement);
}

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-svg/SvgElement/isTagSupported.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API