Comparing version 17.2.0 to 17.3.0
@@ -16,2 +16,3 @@ import { BehaviorSubject } from 'rxjs'; | ||
constructor(_config: NgxHrefServiceConfig); | ||
setAnchor(anchor: string): void; | ||
scrollTo(anchor?: string, counter?: number): void; | ||
@@ -18,0 +19,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<NgxHrefService, never>; |
{ | ||
"name": "ngx-href", | ||
"version": "17.2.0", | ||
"version": "17.3.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -28,3 +28,3 @@ # ngx-href | ||
```typescript | ||
import { ngxHrefModule, ngxHrefService } from 'ngx-href' | ||
import { NgxHrefModule } from 'ngx-href' | ||
@@ -41,6 +41,6 @@ imports: [ | ||
**/ | ||
ngxHrefModule.forRoot({}), | ||
NgxHrefModule.forRoot({}), | ||
// Or | ||
ngxHrefModule.forRoot({ | ||
NgxHrefModule.forRoot({ | ||
avoidSpam: true, | ||
@@ -169,3 +169,12 @@ behavior:"smooth", | ||
<!-- Tel --> | ||
<a href="tel:+41791112233"> | ||
tel:+41791112233 | ||
</a> | ||
<!-- Email --> | ||
<a href="mailto:foobar@outlook.com"> | ||
mailto:foobar@outlook.com | ||
</a> | ||
<!-- Scroll --> | ||
@@ -172,0 +181,0 @@ <a href="#myAnchor"> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
81648
734
228