Created
October 25, 2016 10:18
-
-
Save NetanelBasal/3d7f70080ad95117d7e72ae8ec6bc889 to your computer and use it in GitHub Desktop.
This file contains 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
ngAfterContentInit() { | |
let inputElement = this.renderer.createElement(this.nativeElement, "input"); | |
this.renderer.setElementAttribute(inputElement, "value", "Hello from renderer"); | |
this.renderer.invokeElementMethod(inputElement, "focus", []); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment