@@ -96,6 +96,8 @@ The directive accepts several attributes which are described below:
9696| ** today-text** | String | Text for the today button (default: Today) |
9797| ** ok-text** | String | Text for the OK button (default: OK) |
9898| ** week-start** | Number | First day of the week (default: 0 => Sunday) |
99+ | ** disable-dates** | Date[ ] | Dates to be disabled or not selectable by user.|
100+ | ** disable-parent-scroll** | Boolean | false => Disable scrolling while the dialog is open (default : false) |
99101
100102### Date/Time Dialog Service
101103
@@ -126,19 +128,20 @@ The `mdcDateTimeDialog.show` accepts the same options as the directive.
126128``` javascript
127129 {
128130 date: {boolean} = true ,
129- time: {boolean} = true ,
130- format: {string} = ' YYYY-MM-DD' ,
131- minDate: {strign} = null ,
132- maxDate: {string} = null ,
133- currentDate: {string} = null ,
134- lang: {string} = mdcDatetimePickerDefaultLocale .locale ,
135- weekStart: {int} = 0 ,
136- shortTime: {boolean} = false ,
137- cancelText: {string} = ' Cancel' ,
138- todayText: {string} = ' Today' ,
139- okText: {string} = ' OK' ,
140- amText: {string} = ' AM' ,
141- pmText: {string} = ' PM'
131+ time: {boolean} = true ,
132+ format: {string} = ' YYYY-MM-DD' ,
133+ minDate: {strign} = null ,
134+ maxDate: {string} = null ,
135+ currentDate: {string} = null ,
136+ lang: {string} = mdcDatetimePickerDefaultLocale .locale ,
137+ weekStart: {int} = 0 ,
138+ shortTime: {boolean} = false ,
139+ cancelText: {string} = ' Cancel' ,
140+ todayText: {string} = ' Today' ,
141+ okText: {string} = ' OK' ,
142+ amText: {string} = ' AM' ,
143+ pmText: {string} = ' PM' ,
144+ disableParentScroll: {boolean} = false ,
142145 }
143146```
144147
0 commit comments