refactor(packages): derive default props from core classes (#488)

This commit is contained in:
rahim
2026-02-10 15:10:35 +11:00
committed by GitHub
parent 5f27a6bc94
commit 6aac00280a
8 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -15,9 +15,9 @@ export class TimeElement extends MediaElement {
label: { type: String },
};
type: TimeType = 'current';
negativeSign = '-';
label = '';
type: TimeType = TimeCore.defaultProps.type;
negativeSign = TimeCore.defaultProps.negativeSign;
label = TimeCore.defaultProps.label;
readonly #core = new TimeCore();
readonly #state = new PlayerController(this, playerContext, selectTime);