47dcd084f3
BUG= R=blois@google.com Review URL: https://codereview.chromium.org//23189014 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26928 260f80e4-7a28-3924-810f-c04153c831b5
30 lines
870 B
Plaintext
30 lines
870 B
Plaintext
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
// WARNING: Do not edit - generated code.
|
|
|
|
part of $LIBRARYNAME;
|
|
|
|
$(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
|
factory $CLASSNAME() => document.createRange();
|
|
|
|
factory $CLASSNAME.fromPoint(Point point) =>
|
|
document._caretRangeFromPoint(point.x, point.y);
|
|
$!MEMBERS
|
|
|
|
/**
|
|
* Checks if createContextualFragment is supported.
|
|
*
|
|
* See also:
|
|
*
|
|
* * [createContextualFragment]
|
|
*/
|
|
$if DART2JS
|
|
static bool get supportsCreateContextualFragment =>
|
|
JS('bool', '("createContextualFragment" in window.Range.prototype)');
|
|
$else
|
|
static bool get supportsCreateContextualFragment => true;
|
|
$endif
|
|
}
|