
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
liquid-fire-events
Advanced tools
Provides a service liquid-fire-events
that you can use to subscribe to the
following events from Liquid Fire: transitionBegan
and transitionAnimated
.
Example usage:
export default Ember.Component.extend({
liquidFireEvents: Ember.inject.service(),
didInsertElement() {
this.get('liquidFireEvents')
.on('transitionBegan', () => {
this.set('animating', true);
}).on('transitionAnimated'), (newView) => {
this.set('animating', false);
});
}
});
Note: these are global events, fired every time a Liquid Fire transition occurs anywhere within the rendered DOM.
Additionally, this addon provides a component delayed-render
which
wraps a block of markup and only renders it after a transition has finished.
This is useful eg. to avoid rendering while animating, a common cause of jank
especially in mobile browsers.
Example usage:
{{my-navigation-bar}}
{{! my-complex-component will not be rendered until the animation is complete}}
{{#delayed-render}}
{{my-complex-component}}
{{/delayed-render}}
ember install liquid-fire-events
git clone
this repositorynpm install
bower install
ember server
npm test
(Runs ember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
FAQs
Simple events triggered on Liquid Fire animations.
We found that liquid-fire-events 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's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.