mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(compat): add element selector for cdk-accordion (#5954)
This commit is contained in:
@@ -19,7 +19,7 @@ let nextId = 0;
|
||||
* Directive whose purpose is to manage the expanded state of CdkAccordionItem children.
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[cdk-accordion]',
|
||||
selector: 'cdk-accordion, [cdk-accordion]',
|
||||
})
|
||||
export class CdkAccordion {
|
||||
/** A readonly id value to use for unique selection coordination. */
|
||||
|
||||
Reference in New Issue
Block a user