diff --git a/README.md b/README.md index 76acc0c..e4cb97a 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,24 @@ akkordion(selector, options); `options.speed` - animation duration +`options.opacity` - animate opacity + +##Callbacks +```js +akkordion.on(event, cb); +``` + +###Events + +- `init` - with every accordion-root element +- `abort` - when `beforeOpen` or `beforeClose` will return `false` +- `beforeOpen` +- `open` +- `afterOpen` +- `beforeClose` +- `close` +- `afterClose` + ##License