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: adev/src/content/aria/aria-accordion.json
+48-82Lines changed: 48 additions & 82 deletions
Original file line number
Diff line number
Diff line change
@@ -4,36 +4,51 @@
4
4
"moduleName": "@angular/aria/accordion",
5
5
"normalizedModuleName": "angular_aria_accordion",
6
6
"entries": [
7
+
{
8
+
"name": "AccordionContent",
9
+
"isAbstract": false,
10
+
"entryType": "undecorated_class",
11
+
"members": [],
12
+
"generics": [],
13
+
"description": "A structural directive that provides a mechanism for lazily rendering the content for an\n`ngAccordionPanel`.\n\nThis directive should be applied to an `ng-template` inside an `ngAccordionPanel`.\nIt allows the content of the panel to be lazily rendered, improving performance\nby only creating the content when the panel is first expanded.\n\n```html\n<div ngAccordionPanel panelId=\"unique-id-1\">\n <ng-template ngAccordionContent>\n <p>This is the content that will be displayed inside the panel.</p>\n </ng-template>\n</div>\n```",
14
+
"jsdocTags": [
15
+
{
16
+
"name": "developerPreview",
17
+
"comment": "21.0"
18
+
}
19
+
],
20
+
"rawComment": "/**\n * A structural directive that provides a mechanism for lazily rendering the content for an\n * `ngAccordionPanel`.\n *\n * This directive should be applied to an `ng-template` inside an `ngAccordionPanel`.\n * It allows the content of the panel to be lazily rendered, improving performance\n * by only creating the content when the panel is first expanded.\n *\n * ```html\n * <div ngAccordionPanel panelId=\"unique-id-1\">\n * <ng-template ngAccordionContent>\n * <p>This is the content that will be displayed inside the panel.</p>\n * </ng-template>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
"description": "A global unique identifier for the panel.",
21
-
"jsdocTags": [],
22
-
"inputAlias": "id",
23
-
"isRequiredInput": false
41
+
"jsdocTags": []
24
42
},
25
43
{
26
44
"name": "panelId",
27
45
"type": "InputSignal<string>",
28
46
"memberType": "property",
29
47
"memberTags": [
30
-
"readonly",
31
-
"input"
48
+
"readonly"
32
49
],
33
50
"description": "A local unique identifier for the panel, used to match with its trigger's `panelId`.",
34
-
"jsdocTags": [],
35
-
"inputAlias": "panelId",
36
-
"isRequiredInput": true
51
+
"jsdocTags": []
37
52
},
38
53
{
39
54
"name": "visible",
@@ -155,15 +170,10 @@
155
170
],
156
171
"rawComment": "/**\n * The content panel of an accordion item that is conditionally visible.\n *\n * This directive is a container for the content that is shown or hidden. It requires\n * a `panelId` that must match the `panelId` of its corresponding `ngAccordionTrigger`.\n * The content within the panel should be provided using an `ng-template` with the\n * `ngAccordionContent` directive so that the content is not rendered on the page until the trigger\n * is expanded. It applies `role=\"region\"` for accessibility and uses the `inert` attribute to hide\n * its content from assistive technologies when not visible.\n *\n * ```html\n * <div ngAccordionPanel panelId=\"unique-id-1\">\n * <ng-template ngAccordionContent>\n * <p>This content is lazily rendered and will be shown when the panel is expanded.</p>\n * </ng-template>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
"description": "A structural directive that provides a mechanism for lazily rendering the content for an\n`ngAccordionPanel`.\n\nThis directive should be applied to an `ng-template` inside an `ngAccordionPanel`.\nIt allows the content of the panel to be lazily rendered, improving performance\nby only creating the content when the panel is first expanded.\n\n```html\n<div ngAccordionPanel panelId=\"unique-id-1\">\n <ng-template ngAccordionContent>\n <p>This is the content that will be displayed inside the panel.</p>\n </ng-template>\n</div>\n```",
541
-
"jsdocTags": [
542
-
{
543
-
"name": "developerPreview",
544
-
"comment": "21.0"
545
-
}
546
-
],
547
-
"rawComment": "/**\n * A structural directive that provides a mechanism for lazily rendering the content for an\n * `ngAccordionPanel`.\n *\n * This directive should be applied to an `ng-template` inside an `ngAccordionPanel`.\n * It allows the content of the panel to be lazily rendered, improving performance\n * by only creating the content when the panel is first expanded.\n *\n * ```html\n * <div ngAccordionPanel panelId=\"unique-id-1\">\n * <ng-template ngAccordionContent>\n * <p>This is the content that will be displayed inside the panel.</p>\n * </ng-template>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
0 commit comments