Skip to content
Snippets Groups Projects

Add new component for inline notifications

Merged Tögl, Christina requested to merge inline-notification into master
2 unresolved threads

Merge request reports

Pipeline #14269 passed

Pipeline passed for 6ded1472 on inline-notification

Merged by Reiter, ChristophReiter, Christoph 4 years ago (Nov 19, 2020 12:43pm UTC)

Loading

Pipeline #14292 passed

Pipeline passed for 6b1f2886 on master

Deployed to dep‎loy‎ 2 years ago
Failed to deploy to devel‎opment‎

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
54 }
55
56 .notification h3 {
57 margin: 0 0 3px 0;
58 font: inherit;
59 font-weight: bold;
60 }
61 `;
62 }
63
64 createBodyHtml() {
65 return document.createRange().createContextualFragment(`${ this.body }`);
66 }
67
68 render() {
69 const notificationId = createUUID();
  • 22 this.summary = '';
    23 this.body = '';
    24 }
    25
    26 static get properties() {
    27 return {
    28 lang: { type: String },
    29 type: { type: String },
    30 summary: { type: String },
    31 body: { type: String },
    32 };
    33 }
    34
    35 connectedCallback() {
    36 super.connectedCallback();
    37 i18n.changeLanguage(this.lang);
  • added 1 commit

    Compare with previous version

  • mentioned in commit 6b1f2886

  • Please register or sign in to reply
    Loading