-
Notifications
You must be signed in to change notification settings - Fork 0
bartee/ProximityController
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ProximityController UI directive controller The cursors' position from the targets' center, and its proximity towards it, determines the controllers' value Instantiate with target id and options-object. Initially developed for PrototypeJS v.1.6 Contents: - ProximityController - the base class The magic should happen in the execute-method; since this is the base class, there's no magic here yet :-) - AutoScroller - implementation for controlling x and y scroll using proximity to the target's center. Instantiation: - id: target element's ID - options: object control_factor: {x, y}. Used for determining the controllers' sensitivity interval : in seconds active: x, y or both
About
Javascript UI directive controller. Value of the controller is calculated based on the position and distance from the controller target's center.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published