
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
ember-cli-at-js
Advanced tools
A thin wrapper around At.js.
ember install ember-cli-at-js
This addon wraps At.js and gives you an Ember.TextArea
with an extra property called settings
. This property is handled over to At.js constructor.
// /app/controller/application.js
import Ember from 'ember';
export default Ember.Controller.extend({
settings: {
data: ['juan', 'pedro']
},
value: null
});
// /app/templates/application.hbs
{{at-who-textarea settings=settings value=value}}
Maybe you are creating your own component and want to drop off support for At.js, in that case you may want to use the AtWhoSupport class that has everything the TextArea does but without subclassing it.
// /app/components/my-component.js
import Ember from 'ember';
import AtWhoSupport from 'ember-cli-at-js/mixins/at-who-support';
export default Ember.Component.extend(AtWhoSupport, {
});
By default this component ships with no styles but you can easily add them in
your ember-cli.build.js
file.
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-addon');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
// Add options here
});
// Linking to At.js default styles
app.import(app.bowerDirectory + '/At.js/dist/css/jquery.atwho.css');
/*
This build file specifes the options for the dummy test app of this
addon, located in `/tests/dummy`
This build file does *not* influence how the addon or the app using it
behave. You most likely want to be modifying `./index.js` or app's build file
*/
return app.toTree();
};
FAQs
A thin wrapper around At.js
The npm package ember-cli-at-js receives a total of 0 weekly downloads. As such, ember-cli-at-js popularity was classified as not popular.
We found that ember-cli-at-js 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
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.