2016-11-02 27 views

回答

0

添加自定義按鈕,選項中的.ts文件

options = { 
    customButtons: { 
     myCustomButton: { 
     text: 'custom!', 
     } 
    } 
    }; 

的.html

<p-schedule #cal [events]="events" 
       [header]="header" 
       [options]="options"> 
</p-schedule> 
相關問題