refactor: Convert protected methods to private (#2358)

This commit is contained in:
Dermot Duffy
2026-02-19 20:47:59 -08:00
committed by GitHub
parent 529500ed94
commit 0a67df9a25
122 changed files with 815 additions and 829 deletions
+3 -3
View File
@@ -2,8 +2,8 @@ import { setOrRemoveAttribute } from '../utils/basic';
import { CardExpandAPI } from './types';
export class ExpandManager {
protected _expanded = false;
protected _api: CardExpandAPI;
private _expanded = false;
private _api: CardExpandAPI;
constructor(api: CardExpandAPI) {
this._api = api;
@@ -37,7 +37,7 @@ export class ExpandManager {
this._api.getCardElementManager().update();
}
protected _setConditionState(): void {
private _setConditionState(): void {
this._api.getConditionStateManager()?.setState({
expand: this._expanded,
});