Narrow down getIntersection() result. add optional selector parament to getIntersection function. close #74

This commit is contained in:
Anton Lavrenov
2015-12-26 13:12:40 +07:00
parent 28e8758d29
commit c7ae11cd01
7 changed files with 98 additions and 17 deletions

View File

@@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Added
- event delegation. You can use it in this way: `layer.on('click', 'Circle', handler);`
- new `node.findAncestors(selector)` and `node.findAncestor(selector)` functions
- optional selector parametr for `stage.getIntersection` and `layer.getIntersection`
### Changed
- `moveTo` and some other methods return `this`