如何在primeng Schedule中使用Options属性?
How to use Options attribute in primeng Schedule?
我正在使用 primeng 时间表,即全日历
ts 文件:
optionsObj:Object={
timeFormat: 'hh:mm a'
}
html 文件:
<p-schedule [eventLimit]="4" [options]="optionsObj"></p-schedule>
上面的代码给出了
"Can't bind to 'options' since it isn't a known property of 'p-schedule"
几天前才添加选项 属性(版本 2.0.0-RC3),因此请确保您使用 PrimeNG 2.0.0-RC3 或更高版本。
我正在使用 primeng 时间表,即全日历
ts 文件:
optionsObj:Object={
timeFormat: 'hh:mm a'
}
html 文件:
<p-schedule [eventLimit]="4" [options]="optionsObj"></p-schedule>
上面的代码给出了 "Can't bind to 'options' since it isn't a known property of 'p-schedule"
几天前才添加选项 属性(版本 2.0.0-RC3),因此请确保您使用 PrimeNG 2.0.0-RC3 或更高版本。