Created
July 8, 2018 20:05
-
-
Save arutnik/6be877640d259ad7fe59773954f199c7 to your computer and use it in GitHub Desktop.
SEO-SPA: Abstract DI Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ElementRef } from '@angular/core'; | |
| export abstract class ElementFocusService { | |
| /** | |
| * Transfers focus to an element | |
| * @param element | |
| */ | |
| public abstract focusElement(element: ElementRef) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment