📜  设置输入角度 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:12.239000             🧑  作者: Mango

代码示例1
_allowDay: boolean;
get allowDay(): boolean {
    return this._allowDay;
}
@Input() set allowDay(value: boolean) {
    this._allowDay = value;
    this.updatePeriodTypes();
}