Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
Small fix in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Nov 16, 2013
1 parent 1804f68 commit 3b03d60
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,35 +80,35 @@ Methods allows external control on datepicker

##### Hide
```javascript
$.('.date').pickmeup('hide');
$('.date').pickmeup('hide');
```

##### Show
```javascript
$.('.date').pickmeup('show');
$('.date').pickmeup('show');
```

##### Get date
```javascript
$.('.date').pickmeup('get_date', formatted);
$('.date').pickmeup('get_date', formatted);
```
`formatted` - boolean (default `false`)

##### Set date
```javascript
$.('.date').pickmeup('set_date', date);
$('.date').pickmeup('set_date', date);
```
`date` - can be single date string/object or array depending on selection mode

##### Clear multiple selection
```javascript
$.('.date').pickmeup('clear');
$('.date').pickmeup('clear');
```

##### Update datepicker
Is useful, for example, after input field change
```javascript
$.('.date').pickmeup('update');
$('.date').pickmeup('update');
```

## Styling
Expand Down

0 comments on commit 3b03d60

Please sign in to comment.