# ng-focus-if **Repository Path**: nodistance/ng-focus-if ## Basic Information - **Project Name**: ng-focus-if - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-01 - **Last Updated**: 2021-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ng-focus-if [![Bower version][bower-image]][github-url] [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![devDependency Status][david-image]][david-url] [![GitHub stars][stars-image]][github-url] An attribute directive that will trigger focus on an element under specified conditions. It can also be used as a cross-browser replacement for the `autofocus` attribute. View a live demo on [Plnkr][plnkr-url]. It is available through NPM: ```text npm install ng-focus-if ``` Or, via bower: ```text bower install ng-focus-if --save ``` ## Usage Include `focusIf.min.js` in your build or directly with a `