+++ /dev/null
-/*\r
- * Ext JS Library 2.2.1\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
-\r
-/**\r
- * @class Ext.ux.SliderTip\r
- * @extends Ext.Tip\r
- * Simple plugin for using an Ext.Tip with a slider to show the slider value\r
- */\r
-Ext.ux.SliderTip = Ext.extend(Ext.Tip, {\r
- minWidth: 10,\r
- offsets : [0, -10],\r
- init : function(slider){\r
- slider.on('dragstart', this.onSlide, this);\r
- slider.on('drag', this.onSlide, this);\r
- slider.on('dragend', this.hide, this);\r
- slider.on('destroy', this.destroy, this);\r
- },\r
-\r
- onSlide : function(slider){\r
- this.show();\r
- this.body.update(this.getText(slider));\r
- this.doAutoWidth();\r
- this.el.alignTo(slider.thumb, 'b-t?', this.offsets);\r
- },\r
-\r
- getText : function(slider){\r
- return slider.getValue();\r
- }\r
-});
\ No newline at end of file