Skip to content

Commit

Permalink
Slots in element added (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexandrina90 authored Jun 23, 2023
1 parent cef009b commit ad51b26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/element/atropos-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ class AtroposComponent extends HTMLElement {
<div class="${innerClass}" part="inner">
<slot></slot>
</div>
<slot name="rotate"></slot>
</div>
<slot name="scale"></slot>
</div>
<slot name="root"></slot>
`;
this.shadow.innerHTML = '';

Expand Down

0 comments on commit ad51b26

Please sign in to comment.