diff options
author | Lionel LASKE <llaske@c2s.fr> | 2012-08-25 20:23:36 (GMT) |
---|---|---|
committer | Lionel LASKE <llaske@c2s.fr> | 2012-08-25 20:23:36 (GMT) |
commit | ca3ad6305ec0655ad8475a12ac2228b61cdd9ba0 (patch) | |
tree | 7ef2b853640f99807fba7fd3f2a28bda81727297 /html/lib/onyx/source/Grabber.js |
Init commit
Diffstat (limited to 'html/lib/onyx/source/Grabber.js')
-rw-r--r-- | html/lib/onyx/source/Grabber.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/html/lib/onyx/source/Grabber.js b/html/lib/onyx/source/Grabber.js new file mode 100644 index 0000000..0fd74f5 --- /dev/null +++ b/html/lib/onyx/source/Grabber.js @@ -0,0 +1,19 @@ +/** + A control styled to indicate that an object can be grabbed and moved. It + should only be used in this limited context--to indicate that dragging the + object will result in movement. + + {kind: "onyx.Toolbar", components: [ + {kind: "onyx.Grabber", ondragstart: "grabberDragstart", + ondrag: "grabberDrag", ondragfinish: "grabberDragFinish"}, + {kind: "onyx.Button", content: "More stuff"} + ]} + + When using a Grabber inside a Fittable control, be sure to set "noStretch: true" + on the Fittable or else give it an explicit height. Otherwise, the Grabber + may not be visible. +*/ +enyo.kind({ + name: "onyx.Grabber", + classes: "onyx-grabber" +});
\ No newline at end of file |