Skip to content

Commit

Permalink
Add component to Angular preview
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Jul 2, 2024
1 parent aedc1df commit 22f6e84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ <h2>Post Card-Control</h2>

<div class="my-4">
<h2>Post Collapsible</h2>
<post-collapsible>
<post-collapsible-trigger for="angular-collapsible">
<button class="btn btn-secondary mb-mini">Toggle</button>
</post-collapsible-trigger>
<post-collapsible id="angular-collapsible">
<p>Contentus momentus vero siteos et accusam iretea et justo.</p>
</post-collapsible>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function renderCollapsible(
) {
return html`
<post-collapsible-trigger for=${context.id}>
<button class="btn btn-default">Toggle Collapsible</button>
<button class="btn btn-secondary">Toggle Collapsible</button>
</post-collapsible-trigger>
<post-collapsible id=${context.id} ${spreadArgs(args)}>
Expand Down

0 comments on commit 22f6e84

Please sign in to comment.