- Add angular v18 support and remove support for v17
- Add angular v17 support and remove support for v16
- Add angular v16 support and remove support for v15
- Add angular v15 support and remove support for v14
- Update demo app to angular 15
- Update demo app to angular material 15
- Remove deprecated package "@angular/flex-layout"
- Add angular v14 support and remove support for v13
- Update demo app to angular 14
- Add angular v13 support and remove support for older versions
- Add angular v12 to supported versions
- Update demo app to angular 12
- Peer dependency version mismatch (#429)
- Remove existing instance warning
- Add angular v11 to supported versions
- Update demo app to angular 11
- Add angular v10 to supported versions
- Update demo app to angular 10
- Use
fragment
attribute as scroll target source (#403)
- Remove usage of deprecated
preserveQueryParams
(#392)
- Document the
scrollInView
feature, which has been around since last version - Update demo application to angular 9
- This release requires angular v8 or later
- Update dependencies and build script problems
Note: This release mainly reverts the changes made in v6.0.1
- Revert to angular@7 build tools to produce compatible bundle files (#363)
- Update dependencies (add angular 8 support)
- Adjust wrong peer dependency between core and directive module #354
- Update dependencies
- Using non-
forRoot()
import did not work (#341)
- Update third party dependencies
- Add back some library project package.json properties
- Modularization (#88): The library has been split up into two npm modules:
ngx-page-scroll-core
andngx-page-scroll
. The core module contains thePageScrollService
and does not depend on@angular/router
any more. The latter mentioned module has a peer dependency on the NgxPageScrollCore Module and provides thepageScroll
directive. Read this comment on how to upgrade - The build system has been changed and now uses angular-cli
- Set minimum supported angular version to 7
- Unit tests are executed and will be added in the future
- Add angular 7 to supported version range (#329)
- Now requires [email protected] or higher
- Update dependencies
- Add in-dialog scrolling example
- Revert to use angular 4 compiler to produce backward compatible metadata.json files (#257)
- Enhance supported angular version to include angular 5 (#254)
- Change package name prefix from ng2 to ngx (#164)
- Remove some
@private
jsdoc comments to avoid syntax highlighter/lint warnings - Remove the
.forRoot()
method from NgxPageScrollModule which was marked as deprecated since 4.0.0-beta.10
- Restore support for id selectors starting with a numeric value (#205)
- Cross-route scrolling (#185)
- Inconsistent logging levels (#207)
- Remove typings type definitions (#237)
- Update to later rollup version (751642b)
- Updated demo app dependencies (d2788c9)
- Adjust the minimum angular version to 4.2.6
- The
pageScrollInstance
factory methods marked as deprecated since v4.0.0-beta.5 have been removed.
- The
scrollTarget
parameter forpageScrollInstance
creation may now take any valid css selector (#193)
- Remove the flawed
forRoot()
approach for module and introduced singleton patter (#96, #190, thanks to @achimha) - Updated dependencies
- Raised minimum supported angular version to 4.2.0
- Scrolling upwards with pageScrollSpeed option resulted in immediate jump (#170)
- Updated dependencies
- Updated dependencies and fix tests
- Scrolling did not start at top of screen but from previus scroll start position (05ea7c4) (#125)
- Updated development dependencies to use angular 4
- Interrupt listener for mouse clicks now only interrupts the scroll animation if click happens inside the scroll container (e8e3100)
- Adjust route hash on scrolling using
pageScroll
directive (559ef67)
- Bug where
stopAll
did not stop all running pageScroll instances (d5de63d)
- Document namespace feature in demo app (b53881e)
- Loosen peer deps for work with angular 4 (#106, #107, #108, #109, #110, #113)
- Do not publish travis deployment specific files to npm (#112)
- Remove inadvertent fdescribe in e2e specs
- Fixed README typos
- New factory method
newInstance
at PageScrollInstance that consumes an options object. The other factory methods are deprecated and will be removed in final release. - Advanced offset position calculation for inline scrolling (#92)
- Changes to the input values for the directive where not respected (#84)
- Default LogLevel in PageScrollConfig was too low
- First release that automatically gets tested in multiple browser using SauceLabs ;)
- No scroll animation took place if routerLink directive was present on directive element and target route already active (#68)
- Upgrade angular dependencies, now requires version 2.4.0 or later
- Remove source map reference from published files (#72)
- Horizontal scrolling feature (#61)
- Problem with not revmoved timer reference (fix #64)
- Update dependencies, especially angular to support version 2.4.0 and later
- Update dependencies, especially angular to support version 2.2.0
- Use static
forRoot()
method when importingNg2PageScrollModule
- Add static
forRoot()
method for lazy loaded modules to Ng2PageScrollModule
- Adjust peer dependency to satisfy angular 2.1.2 deps
- Scrolling stops in case the scrollTop value were floating point numbers, resulting in
===
comparisons to be false. Fix by comparing rounded and delta values (fixes #55)
- Update dependency versions
- Remove
*.ts
files from npm published package (fixes #54) - Package.json scripts calling executables in node_modules folder
- Update to protractor 4.0.10
- Elongate demo app dummy texts
- scrollFinish event now fires when scroll target can not be found and it can not be scrolled any closer to the target (fixes #50)
- Typo in README
- Demo app enhancement + new e2e tests
- Wrong peer dependency
- Make router an optional injection for pageScroll directive (it however requires
@angular/router
to be included)
- Update dependencies (angular 2.1)
- Private method handleClick() referenced in template
- Add some files to npmignore to make the npm-build smaller
- Update Readme to showcase usage of the new angular2 modules and commonJs
- TypeScript parameter type change to satisfy ngc (angular compiler)
- Update peer dependency to angular 2.0.1 and add back tilde/range constraint
- Update dependencies to support final angular 2.0.0 release
- Enhance demo app to be a little more descriptive
- Add e2e tests
- Fix documentation mistakes
- Only angular version 2 rc.5 or later supported
- defaultEasingFunction interface has been removed in favour of defaultEasingLogic abstract class to be extended/overridden for defining custom easing methods
- automatically stop the scroll timer task when an end of the scroll-region has been reached
- Non working event emitter and directive scrolls not working properly on consecutive clicks
- Added ngModule conform export
- New demo application started with angular-cli
- New
PageScrollService
needs to be added to the bootstrap() calls provider array.
- Service implementation to trigger scroll animations from other places than an element click
- Set the scroll container to scroll "inline" (e.g. a div with fixed height and vertical scroll bar)
- Reorganized Readme
- Problem with Event gloval in angular universal (thanks to threesquared, PR #20)
- New angular version (rc.4)
- New angular router version (beta.2)
- Scrolling did not work properly when initial scrollTop value was greater 0 (fixes #15)
Enhance:
- Use another scrollTop source to increase cross browser support
- New angular version (rc.3)
- New angular router version (alpha.8)
- TypeScript error TS2322 when instantiating EventEmitter
- Added TSLint and adjusted styling
- The
pageScrollFinish
event is now called for interrupted/interfered page scroll animations as well. A boolean is emitted, indicating whether the animation got interrupted.
- The new property
pageScrollInterruptible
allows setting whether a triggered scroll animation should be interrutible or not. A page wide default can be specified usingPageScrollConfig.defaultInterruptible
.
- Only register event listeners for running page scroll animations to save resources (fixes #9)
- Overshooting target when large distance to scroll and short scroll animation duration (fixes #7)
- body.scrollTop not working on non-Blink based browser like Firefox and IE (thanks to bensgroi, #10)
- Running animations are stopped when pressing a pageScroll link, even if the scroll target is not found or already reached (previously it did not stop).
- Referencing non existing variable causes error in non webkit-based browser (fixes #5)
- Now using angular RC scoped packages and the new router
- Bumped supported angular2 version to beta.16
- Prepared demo app the showcase HashLocationStrategy
- Bumped supported angular2 version beta.14
- Added example app
- event indicating the end of the scroll-animation has been renamed from
scrollFinish
topageScrollFinish
for consistency with all other attributes/properties.
- Introducing
PageScrollConfig
class to specify defaults for allpageScroll
directive usages. - Customizable easing method
- Spelling mistakes and enhanced documentation
Initial release
First draft