
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
ember-userengage
Advanced tools
Easily integrate userengage.io in your app as an Ember Service.
Run the following command from inside your ember-cli project:
ember install ember-userengage
You need to set your userengage.io Api Key in the ENV
var on your config/environment.js
file, like this:
var ENV = {
// ...
userEngage: {
apiKey: 'your-userengage-api-key'
}
// ...
}
A service named userengage
will be available in your app, providing the following methods:
initialize(options)
refresh(options)
pageHit()
destroy()
They map to methods described in userengage.io official doc
In your component or controller:
userengage: Ember.inject.service(),
actions: {
initUserengageForGuests() {
this.get('userengage').initialize();
},
}
In your component or controller:
userengage: Ember.inject.service(),
actions: {
initUserengageForGuests() {
this.get('userengage').initialize({
email: this.get('model.email'),
name: this.get('model.fullName'),
custom_attribute: this.get('model.customAttribute')
});
},
}
In your app's router.js
:
didTransition() {
this._super(...arguments);
this.userengagePageChange();
},
userengage: Ember.inject.service(),
userengagePageChange() {
this.get('userengage').pageHit();
}
In your component or controller:
userengage: Ember.inject.service(),
actions: {
destroy() {
this.get('userengage').destroy();
}
}
ember-userengage is released under the MIT License.
FAQs
The default blueprint for ember-cli addons.
The npm package ember-userengage receives a total of 0 weekly downloads. As such, ember-userengage popularity was classified as not popular.
We found that ember-userengage 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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.