A helper for safely embedding URLs in style properties. Avoids CSS XSS exposure and sanitizes user-provided URLs.
<div style='background-image: url("https://example.com/avatar.png")' ></div>
git clone <repository-url>
this repositorycd ember-css-url
yarn install
ember serve
- Visit your app at http://localhost:4200.
yarn test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.