Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
David Esteves committed Mar 4, 2019
1 parent 0d8e045 commit cd8c07f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ Always reference the ticket number at the end of the issue description.

## pending

### Added
- Added the creation of new inline forms dynamically with javascript
- Added the ability to sort (with drag n drop) inline forms
[201]: https://github.com/sanoma/django-arctic/issues/201

### Changed
- Javascript widgets are not initialised with anonymous functions anymore
- Separated javascript widgets into their own files (selectize, pickers, float labels, inlines)
- Added new size (extra large) to modals

### Fixed

- BREAKING! Fixed response in DeletionMixin after `delete` method is called [#334][334]
Expand Down
12 changes: 12 additions & 0 deletions docs/frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,15 @@ Optional
console.log(e.detail)
}, false);
```

### Javascript widgets (all of them are initialised on DOM load event)
`startSelectize()` - Starts simple selectize
`startSelectizeMultiple()` - Starts multiple selectize
`startSelectizeAutocomplete()` - Starts autocomplete selectize
`startAllSelectizes()` - Starts all 3 selectizes
`startDatepicker()` - Starts datepicker
`startTimePicker()` - Starts timepicker
`startDateTimePicker()` - Starts date and time picker
`startAllPickers()` - Starts all 3 pickers
`betterFile()` - Starts better file input for image fields
`startAllWidgets()` - Starts all of the above

0 comments on commit cd8c07f

Please sign in to comment.