Skip to content

Instantly share code, notes, and snippets.

Sergey Khval SergeyKhval

Block or report user

Report or block SergeyKhval

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mlynch / autofocus.js
Last active Aug 9, 2019
AngularJS Autofocus directive
View autofocus.js
* the HTML5 autofocus property can be finicky when it comes to dynamically loaded
* templates and such with AngularJS. Use this simple directive to
* tame this beast once and for all.
* Usage:
* <input type="text" autofocus>
* License: MIT
You can’t perform that action at this time.