Skip to content

Commit 78d3aad

Browse files
committed
fix up merge
1 parent f19a20a commit 78d3aad

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/aria/accordion/accordion.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,17 @@ export class AccordionTrigger {
153153

154154
/** Opens this item. */
155155
open(itemValue: string) {
156-
this.pattern.expansionControl.open();
156+
this._pattern.expansionControl.open();
157157
}
158158

159159
/** Closes this item. */
160160
close(itemValue: string) {
161-
this.pattern.expansionControl.close();
161+
this._pattern.expansionControl.close();
162162
}
163163

164164
/** Toggles the expansion state of this item. */
165165
toggle(itemValue: string) {
166-
this.pattern.expansionControl.toggle();
166+
this._pattern.expansionControl.toggle();
167167
}
168168
}
169169

@@ -237,32 +237,32 @@ export class AccordionGroup {
237237

238238
/** Opens the specified item. */
239239
open(itemValue: string) {
240-
this.pattern.expansionManager.open(this._patternForValue(itemValue)!);
240+
this._pattern.expansionManager.open(this._patternForValue(itemValue)!);
241241
}
242242

243243
/** Closes the specified item. */
244244
close(itemValue: string) {
245-
this.pattern.expansionManager.close(this._patternForValue(itemValue)!);
245+
this._pattern.expansionManager.close(this._patternForValue(itemValue)!);
246246
}
247247

248248
/** Toggles the expansion state of the specified item. */
249249
toggle(itemValue: string) {
250-
this.pattern.expansionManager.toggle(this._patternForValue(itemValue)!);
250+
this._pattern.expansionManager.toggle(this._patternForValue(itemValue)!);
251251
}
252252

253253
/** Opens all focusable items in the list. */
254254
openAll() {
255-
this.pattern.expansionManager.openAll();
255+
this._pattern.expansionManager.openAll();
256256
}
257257

258258
/** Closes all focusable items in the list. */
259259
closeAll() {
260-
this.pattern.expansionManager.closeAll();
260+
this._pattern.expansionManager.closeAll();
261261
}
262262

263263
_patternForValue(value: string) {
264264
const trigger = this._triggers().find(t => t.value() === value);
265-
return trigger?.pattern;
265+
return trigger?._pattern;
266266
}
267267
}
268268

0 commit comments

Comments
 (0)