You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore
49
+
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
50
+
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
51
+
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
52
+
est laborum.
53
+
</p>
54
+
</pa-accordion-item-body>
55
+
</pa-accordion-item>
31
56
</pa-demo-examples>
32
57
33
58
<pa-demo-usage>
34
59
<h3>Inputs</h3>
35
60
<dl>
36
61
<dt>description</dt>
37
-
<dd>Optional description to be displayed below the title in the item’s header.</dd>
62
+
<!-- prettier-ignore -->
63
+
<dd>Optional description to be displayed below the title in the item’s header.
64
+
The description is displayed with an <code>innerHTML</code> block, so it can contain simple HTML markup.</dd>
38
65
<dt>expanded</dt>
39
66
<dd>
40
67
Boolean controlling the state of the item: expanded when true.
@@ -57,15 +84,20 @@ <h3>Outputs</h3>
57
84
</dd>
58
85
</dl>
59
86
60
-
<h3>Directive</h3>
87
+
<h3>Directives</h3>
61
88
<!-- prettier-ignore -->
62
89
<p>The item content must be wrapped in <code>pa-accordion-item-body</code> tag.</p>
90
+
<!-- prettier-ignore -->
91
+
<p>Whenever you need to display some components in the accordion item description, you can use the <code>pa-accordion-item-extra-description</code> directive.</p>
63
92
</pa-demo-usage>
64
93
65
94
<pa-demo-code>
66
95
<h4>Static accordion item:</h4>
67
96
<pre><code>{{code}}</code></pre>
68
97
98
+
<h4>Static accordion item with extra content in its description:</h4>
0 commit comments