W3cubDocs

/Dart 2

supportsCreateContextualFragment property

bool supportsCreateContextualFragment

Checks if createContextualFragment is supported.

See also:

createContextualFragment

Implementation

static bool get supportsCreateContextualFragment =>
    JS('bool', '("createContextualFragment" in window.Range.prototype)');

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