Hyunje Alex Jun
3d2d50c308
Update .eslintrc
...
To make it compatible with new versions of ESLint and specify other
options.
2015-10-03 20:44:38 +09:00
DanielApt
a0d39e1b49
Make sure scroll is at the start/end when the reach start/end event fires
2015-09-29 15:28:58 +01:00
DanielApt
e288476ba0
Update README.md with new events
2015-09-28 11:13:25 +01:00
DanielApt
e9bc40bd37
Update events example to show new reach events
2015-09-28 11:09:51 +01:00
DanielApt
0b8fe0ac0b
Dispatch events when reaching start / end of axes
2015-09-28 11:08:59 +01:00
Jun
a3676556b2
Merge pull request #386 from DanielApt/events
...
Dispatch scroll events
2015-09-24 19:44:31 +09:00
DanielApt
39893fc6f2
Add example for events
2015-09-24 11:02:33 +01:00
DanielApt
6c5b9d249e
Add missing parentheses
2015-09-24 09:53:59 +01:00
DanielApt
2ef7e81ce9
Add Events to the README
2015-09-23 21:05:28 +01:00
DanielApt
3b90c734e4
Dispatch custom scroll events with new updateScroll function
2015-09-23 20:49:37 +01:00
Hyunje Alex Jun
afebe908b1
NPM version bump.
...
https://github.com/npm/npm-registry-couchapp/issues/148
2015-08-18 04:16:20 +09:00
Hyunje Alex Jun
6cbb4a9b9d
Release 0.6.5
...
1. Add shift+space support.
2. Bug fixes.
2015-08-18 03:54:56 +09:00
Hyunje Alex Jun
51f33a44b5
Remove unused garbage rails before append a new one.
...
This patch fixes #376 .
2015-08-18 03:51:12 +09:00
Hyunje Alex Jun
8eac54d49f
Add a queryChildren method to dom.js
2015-08-18 03:26:15 +09:00
Hyunje Alex Jun
ed4e335978
Declare a module object DOM in dom.js
...
To refer in the sibling methods.
2015-08-18 03:23:27 +09:00
Jun
272bb4983a
Merge pull request #379 from srcn/master
...
Add shift+space support for keyboard
2015-08-17 21:43:02 +09:00
srcn
f200bea4cc
add shift+space support for keyboard
2015-08-17 15:19:30 +03:00
Hyunje Alex Jun
b1d7aa0e64
Release 0.6.4
...
1. Add null-check for instances.
2. Add 'stopPropgationOnClick' option.
2015-07-25 02:28:12 +09:00
Hyunje Alex Jun
49e39f513d
Update README.md
2015-07-25 02:26:55 +09:00
Jun
89f4226778
Merge pull request #366 from dorilla/feature/stop-propagation-on-click
...
Allow the clicking of a rail to propagate
2015-07-25 02:23:42 +09:00
Dan Maglasang
79f4cfcf5f
Update README.md
2015-07-22 22:47:33 -04:00
Dan Maglasang
158b113d18
Allow the clicking of a rail to propagate
2015-07-22 22:43:38 -04:00
Hyunje Alex Jun
6c642d8a47
Just early return instead of throwing an error for no instance.
2015-07-14 12:22:40 +09:00
Hyunje Alex Jun
f9f20eeb6f
Add null-check when updating or destroying an instance.
...
Throw an error when an instance is not found.
2015-07-07 15:25:16 +09:00
Hyunje Alex Jun
1f082a2e04
Release 0.6.3
...
1. Improve toInt
2. Stop propagating click event through scrollbar rails.
3. IE touch device fix.
4. RTL support.
5. Other minor fixes.
2015-06-22 22:21:25 +09:00
Hyunje Alex Jun
b19c5e0765
Chmod 644 README.md
2015-06-22 21:38:43 +09:00
ahspw
3dbf20a5d0
perfect RTL support
2015-06-22 21:36:43 +09:00
guandai
db855ceca1
update readme
2015-06-22 21:28:47 +09:00
Jun
84b74926e3
Merge pull request #347 from danthewolfe/ie-touch-device
...
IE touch device fix
2015-06-17 13:02:22 +09:00
dan
d6bd30f2da
IE touch device fix
...
Add vendor specific css for IE to handle let javascript handle touch events instead of letting css attempt to handle them. Without this CSS property IE touch devices do not work.
2015-06-16 15:43:00 -04:00
Hyunje Alex Jun
fc28ceb4ea
Stop propagating click event through scrollbar rails.
...
Fixes #326 .
2015-04-29 13:08:03 +09:00
Hyunje Alex Jun
ca4d835129
Simplify parseInt.
...
Because `~~` isn't necessarily faster than `parseInt` in every browser.
Now I think it'd be better to make it readable and simple.
2015-04-15 21:41:11 +09:00
Jun
88b4e2fc19
Merge pull request #321 from juxtapos/toInt-fix
...
changed toInt()'s function behavior
2015-04-15 21:39:10 +09:00
Claus Augusti
de32082a62
changed the toInt()'s function behavior so that it returns 0 on empty strings
2015-04-15 13:56:38 +02:00
DanielApt
7ba25d020c
Add an editor config file
2015-04-14 13:57:45 +09:00
Jun
08d559561e
Merge pull request #320 from jaronkk/scrollbar-margins
...
Support large and percentage margins on scrollbar rails
2015-04-14 13:56:47 +09:00
Jaron Kennel
046ce954fd
Fix gulp watch to call sass instead of css
2015-04-13 13:12:09 -04:00
Jaron Kennel
a40ab40695
Fix clicking and dragging the scrollbar rails with large margin values.
...
Fix initial rail height/width calculation: Set the rails to display:block temporarily to correctly calculate percentage margins
Account for scrolltop/left on the document.
2015-04-13 13:12:00 -04:00
Hyunje Alex Jun
2cd65684e2
Release 0.6.2
...
1. Reattach rails when removed.
2. Check if parentNode exists when DOM-removing.
3. Consume mousewheel event for hovered textarea.
4. Other minor fixes.
2015-04-11 02:24:49 +09:00
Hyunje Alex Jun
a0b3754a0d
Lint.
...
Missing semicolon.
2015-04-11 02:24:49 +09:00
Hyunje Alex Jun
dc7b14d0e1
Consume mousewheel event when there's hovered textarea.
...
Only when it needs to be scrolled.
2015-04-11 02:16:37 +09:00
Jun
a5aab04264
Merge pull request #309 from DanielApt/remove-patch
...
Check if parentNode exists
2015-04-08 18:53:16 +09:00
DanielApt
aca7683de1
Change tab size to 2
2015-04-02 10:18:46 +01:00
Hyunje Alex Jun
c21cfb6ed0
Add version information to built files.
2015-04-02 02:10:25 +09:00
Hyunje Alex Jun
e4b21c7069
Remove -ms-filter for opacity.
...
The plugin doesn't support old IEs.
2015-04-02 01:12:44 +09:00
DanielApt
bb58ab98e3
Fix failing test
2015-03-27 18:28:51 +00:00
DanielApt
633f1f53d3
Check if parentNode exists
...
We need to check if parentNode exists, as in some scenarios it does not (e.g. phantomjs < 2)
2015-03-27 16:58:10 +00:00
Hyunje Alex Jun
4a7f27356a
Change the way to re-attach rails when they're detached.
...
Instead of destroying and re-initialising the plugin, just re-append
them.
2015-03-11 22:07:14 +09:00
Hyunje Alex Jun
2e071274db
Release 0.6.1
...
1. jQuery adaptor error fix.
2015-03-06 02:02:25 +09:00
Jun
b23ad2834e
Merge pull request #297 from BR0kEN-/issue-296
...
Fixed an issue #296 with undefined function in jQuery plugin.
2015-03-06 00:50:35 +09:00