Code Monkey home page Code Monkey logo

Comments (3)

pichfl avatar pichfl commented on July 24, 2024

This should be fixed by 7.0.0

from ember-cli-notifications.

martinbarilik avatar martinbarilik commented on July 24, 2024

It's not ;)

{{! template-lint-disable no-action no-curly-component-invocation no-implicit-this no-invalid-interactive no-triple-curlies }}
<div
  class="c-notification {{this.dismissClass}} {{this.clickableClass}} {{this.processedType}} {{this.notification.cssClasses}}"
  data-test-notification-message={{notification.type}}
  {{on "mouseenter" (action "handleMouseEnter")}}
  {{on "mouseleave" (action "handleMouseLeave")}}
>
  <div class="c-notification__icon">
    {{#if this.notificationSVGPath}}
      <svg class="c-notification__svg" fill="#FFFFFF" viewBox="0 0 24 24" height="48" width="48" xmlns="http://www.w3.org/2000/svg">
        <path d={{this.notificationSVGPath}}></path>
      </svg>
    {{/if}}
  </div>
  <div class="c-notification__content" {{action "handleOnClick"}}>
    {{#if notification.htmlContent}}
      {{{notification.message}}}
    {{else}}
      {{notification.message}}
    {{/if}}
    <div class="c-notification__close" {{action "removeNotification" bubbles=false}} title="Dismiss this notification">
      <svg class="c-notification__svg" name="close" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" width="1024" height="1024" fill="#FFF"><path d="M21.734 19.64l-2.097 2.094a.983.983 0 0 1-1.395 0L13 16.496l-5.238 5.238a.988.988 0 0 1-1.399 0l-2.097-2.093a.988.988 0 0 1 0-1.399L9.504 13 4.266 7.762a.995.995 0 0 1 0-1.399l2.097-2.097a.988.988 0 0 1 1.399 0L13 9.508l5.242-5.242a.983.983 0 0 1 1.395 0l2.097 2.093a.996.996 0 0 1 .004 1.403L16.496 13l5.238 5.242a.988.988 0 0 1 0 1.399z"/></svg>
    </div>
  </div>

  {{#if notification.autoClear}}
    <div class="c-notification__countdown" style={{this.notificationClearDuration}}></div>
  {{/if}}
</div>

from ember-cli-notifications.

jacobq avatar jacobq commented on July 24, 2024

I believe this is fixed in 8.x (i.e. #314 listed in https://github.com/mansona/ember-cli-notifications/blob/master/CHANGELOG.md#800--2022-01-28)

from ember-cli-notifications.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.