Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: sky/framework/sky-radio/sky-radio.sky

Issue 866213004: Switch Sky to pointer events (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: nits Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/framework/sky-radio/sky-radio.sky
diff --git a/sky/framework/sky-radio/sky-radio.sky b/sky/framework/sky-radio/sky-radio.sky
index 011f0d3f745593461803f560936b2451bc21aaf7..687dd5dc8fa9d4f9cc0af79a8a2d24509786b0d9 100644
--- a/sky/framework/sky-radio/sky-radio.sky
+++ b/sky/framework/sky-radio/sky-radio.sky
@@ -8,7 +8,7 @@
<sky-element
name="sky-radio"
attributes="selected:boolean, group:string"
- on-mouseup="handleMouseUp">
+ on-click="handleClick">
<template>
<style>
:host {
@@ -97,7 +97,7 @@ module.exports = class extends SkyButton {
if (this.selected && this.controller)
this.controller.takeSelectionFromGroup(this);
}
- handleMouseUp() {
+ handleClick() {
this.selected = true;
}
}.register();

Powered by Google App Engine
This is Rietveld 408576698