Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@nycplanning/ember-content-placeholders
Advanced tools
Composable components for rendering animated content placeholders like facebook
Ember addon for rendering fake content while data is fetching to provide better UX and lower bounce rate.
{{#content-placeholders as |placeholder|}}
{{placeholder.heading img=true}}
{{placeholder.text lines=3}}
{{/content-placeholders}}
{{#content-placeholders rounded=true as |placeholder|}}
{{placeholder.img}}
{{placeholder.heading}}
{{/content-placeholders}}
root content-placeholders
animated
(default: true)rounded
(default: false) - border radiuscentered
(default: false)properties from root component are automatically passed down to each one of yielded components, so they can be overriden whenever necessary per comoponent case
yield placeholder.heading
img
(default: false)yield placeholder.text
lines
(default: 4)yield placeholder.img
yield placeholder.nav
TO DO:
placeholder.list
placeholder.chart
placeholder.table
Composable components make it easy to form a required module, but sometimes it's not enough. If you'd like to also amend styling, there are few variables that can help you out:
$ember-content-placeholders-primary-color
- heading background$ember-content-placeholders-secondary-color
- light background$ember-content-placeholders-border-radius
- border radius size when rounded
property is true
$ember-content-placeholders-line-height
- single line height$ember-content-placeholders-spacing
- distance between linesgit clone https://github.com/{YOUR_USERNAME}/ember-content-placeholders
cd ember-content-placeholders
yarn install
[Longer description of how to use the addon in apps.]
See the Contributing guide for details.
This project is licensed under the MIT License.
FAQs
Composable components for rendering animated content placeholders like facebook
We found that @nycplanning/ember-content-placeholders 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.