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
Copy file name to clipboardExpand all lines: elements/pf-card/pf-card.ts
+4-12Lines changed: 4 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -15,18 +15,6 @@ import style from './pf-card.css';
15
15
* like card views, or for positioning content on a page.
16
16
* @summary Gives a preview of information in a small layout
17
17
* @alias Card
18
-
* @slot header
19
-
* When included, defines the contents of a card. Card headers can contain images as well as
20
-
* the title of a card and an actions menu represented by the right-aligned kebab.
21
-
* In most cases, your card should include a header. The only exceptions are when cards being
22
-
* used as a layout element to create a white background behind other content.
23
-
* @slot title
24
-
* Communicates the title of a card if it's not included in the header.
25
-
* If a card will be utilized as a selectable and clickable card, the title needs to be made as a linked text to trigger action and indicate interaction.
26
-
* @slot - Body. Provides details about the item. A card body can include any combination of static
27
-
* text and/or active content.
28
-
* @slot footer
29
-
* Contains external links, actions, or static text at the bottom of a card.
30
18
* @csspart header - The container for *header* content
31
19
* @csspart body - The container for *body* content
32
20
* @csspart footer - The container for *footer* content
@@ -89,17 +77,21 @@ export class PfCard extends LitElement {
<!-- When included, defines the contents of a card. Card headers can contain images as well as the title of a card and an actions menu represented by the right-aligned kebab. In most cases, your card should include a header. The only exceptions are when cards being used as a layout element to create a white background behind other content. -->
92
81
<slotname="header"></slot>
82
+
<!-- Communicates the title of a card if it's not included in the header. If a card will be utilized as a selectable and clickable card, the title needs to be made as a linked text to trigger action and indicate interaction. -->
0 commit comments