goodeggs / Ng Focus On
A directive to make angular elements focusable
Stars: ✭ 51
Programming Languages
javascript
184084 projects - #8 most used programming language
coffeescript
4710 projects
Projects that are alternatives of or similar to Ng Focus On
Multicaptchabot
The best bot for collecting cryptocurrency from freebitco.in, freedoge.co.in and freenem.com 🚀🌔
Stars: ✭ 27 (-47.06%)
Mutual labels: dom
Kirby Autofocus
Content aware image cropping for Kirby. Kirby 2 and 3.
Stars: ✭ 35 (-31.37%)
Mutual labels: focus
Radi
🌀Tiny (in size) front-end framework with no extra browser re-flows
Stars: ✭ 946 (+1754.9%)
Mutual labels: dom
Ng Zorro Antd
Angular UI Component Library based on Ant Design
Stars: ✭ 7,841 (+15274.51%)
Mutual labels: angular-directives
Element Resize Detector
Optimized cross-browser resize listener for elements.
Stars: ✭ 1,040 (+1939.22%)
Mutual labels: dom
Javascript Steppitguide
JavaScript-StepPitGuide《JavaScript踩坑指南》- 说前端简单的什么的最变态了!
Stars: ✭ 30 (-41.18%)
Mutual labels: dom
Angular Datetime Range
📅 Angular directive for datetime range input
Stars: ✭ 27 (-47.06%)
Mutual labels: angular-directives
Ngx Infinite Scroll
Infinite Scroll Directive for Angular
Stars: ✭ 1,024 (+1907.84%)
Mutual labels: angular-directives
Preact
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
Stars: ✭ 30,527 (+59756.86%)
Mutual labels: dom
Gomponents
Declarative view components in Go, that can render to HTML5.
Stars: ✭ 49 (-3.92%)
Mutual labels: dom
Curtainsjs
curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.
Stars: ✭ 1,039 (+1937.25%)
Mutual labels: dom
ng-focus-on
An angularjs directive and corresponding factory to make elements focusable. It's easy!
<div ng-controller="AwesomeCtrl">
<a href="#" ng-click="focusAwesome($event)">Focus on something awesome</a>
<input focus-on="awesome">
</div>
angular.module('yourModule', [
...
'focusOn',
...
]);
...
function AwesomeCtrl($scope, focus) {
$scope.focusAwesome = function($event) {
$event.preventDefault();
focus('awesome');
};
}
Installing
-
Bower:
bower install ng-focus-on
-
npm/browserify:
npm install ng-focus-on
- Download: https://github.com/goodeggs/ng-focus-on/releases/latest
Credit
Thanks to this answer from blesh on StackOverflow for inspiration: http://stackoverflow.com/a/18295416/298584
Contributing
npm install
npm test
License
MIT.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].