
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
angular-reactions
Advanced tools
Buzzfeed/Onedio style user reaction module as a directive for the AngularJS framework.
28842380218847bd04117a2e8acdb604ff3dd21e
Angular Reactions is a directive for the AngularJS framework. Provide smiley reactions for increase your community interaction.
bower install angular-reactions
You could find this module in bower like angular reactions.
npm install angular-reactions
You could find this module in npm like angular reactions.
###Getting Started
You can easily integrate this feature to your app with 3 steps.
####Step 0
Install Package
Download package from package provider services or github repository.
####Step 1
Inject Module as Dependency
angular.module('app', ['ngReactions'])
####Step 2
Define options object in current scope.
$scope.config = [
{"src":"https://srv-cdn.onedio.com/store/61333d24ca3819629e766cd21fa68c38d73deff54d0003e1107b46884d431b44.gif","count":0},
{"src":"https://srv-cdn.onedio.com/store/d4cadedb61a2db8bc8c5c369028cc4ffa4966c51d2d2c75f8e6167c07e1ba3e1.gif","count":0},
{"src":"https://srv-cdn.onedio.com/store/7a7b3371221253caf28fd06ea6c6a3a49fee9af11e206feaad66d7e9d72fd73e.gif","count":0},
{"src":"https://srv-cdn.onedio.com/store/9c889ddd1664e0e9e8fc1c93e8316503acd7c5c94cd4cdab3d3161f4e3a227f1.gif","count":0},
{"src":"https://srv-cdn.onedio.com/store/7213a0b115f88320a222b14c5daa3596729b9ec93f710da3d2f8b5a6004e9aba.gif","count":0},
{"src":"https://srv-cdn.onedio.com/store/8fd2ed53959eb901230be656a889da9518a36cd2a78ab38888963c79e26415c5.gif","count":0},
{"src":"https://srv-cdn.onedio.com/store/1ab646d43efac881b74c9a41fa443ad7d97cdf5ad591a5f14b4178702464eeaa.gif","count":0}
]
####Step 3
Call directive from your template.
<reactions options="config"></reactions>
That's all.
FAQs
Buzzfeed/Onedio style user reaction module as a directive for the AngularJS framework.
The npm package angular-reactions receives a total of 1 weekly downloads. As such, angular-reactions popularity was classified as not popular.
We found that angular-reactions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.