Skip to content

Commit

Permalink
Merge pull request #1942 from mbrookes/master
Browse files Browse the repository at this point in the history
[Docs] add missing methods to datepicker docs
  • Loading branch information
oliviertassinari committed Oct 20, 2015
2 parents c5e82ee + 5c9f4e5 commit b63a94f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
16 changes: 16 additions & 0 deletions docs/src/app/components/pages/components/date-picker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,22 @@ export default class DatePickerPage extends React.Component {
'the change the first argument will always be null and the second ' +
'argument will be the new Date instance.',
},
{
name: 'onDismiss',
header: 'function()',
desc: 'Fired when the datepicker dialog is dismissed.',
},
{
name: 'onFocus',
header: 'function(event)',
desc: 'Callback function that is fired when the datepicker field ' +
'gains focus.',
},
{
name: 'onShow',
header: 'function()',
desc: 'Fired when the datepicker dialog is shown.',
},
],
},
];
Expand Down
10 changes: 5 additions & 5 deletions docs/src/app/components/pages/components/time-picker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@ let TimePickerPage = React.createClass({
'the change the first argument will always be null and the second ' +
'argument will be the new Date instance.',
},
{
name: 'onDismiss',
header: 'function()',
desc: 'Fired when the timepicker dialog is dismissed.',
},
{
name: 'onFocus',
header: 'function(event)',
desc: 'Callback function that is fired when the timepicker field ' +
'gains focus.',
},
{
name: 'onDismiss',
header: 'function()',
desc: 'Fired when the timepicker dialog is dismissed.',
},
{
name: 'onShow',
header: 'function()',
Expand Down

0 comments on commit b63a94f

Please sign in to comment.