3a7101e16b
Bug: 36092 Change-Id: I74e3fb256e6be4dc8d919ac158327583f4d84a89 R=vsm@google.com Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108521 Reviewed-by: Vijay Menon <vsm@google.com> Commit-Queue: Terry Lucas <terry@google.com>
22 lines
586 B
Plaintext
22 lines
586 B
Plaintext
// Copyright (c) 2013, 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)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
|
|
$!MEMBERS
|
|
/**
|
|
* Checks if touch events supported on the current platform.
|
|
*/
|
|
static bool get supported {
|
|
try {
|
|
return TouchEvent('touches') is TouchEvent;
|
|
} catch (_) {}
|
|
|
|
return false;
|
|
}
|
|
}
|