mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Currently this interface is constructable from script but isn't used internally by the engine. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/846783003
17 lines
386 B
Plaintext
17 lines
386 B
Plaintext
<sky>
|
|
<import src="../resources/chai.sky" />
|
|
<import src="../resources/mocha.sky" />
|
|
<script>
|
|
describe("Pointer events", function() {
|
|
it("should be constructable", function() {
|
|
var event = new PointerEvent("pointerdown", {
|
|
kind: "touch",
|
|
});
|
|
assert.ok(event);
|
|
assert.equal(event.kind, "touch");
|
|
assert.equal(event.radiusMajor, 0);
|
|
});
|
|
});
|
|
</script>
|
|
</sky>
|