diff --git a/Core-API.md b/Core-API.md index 98f103e..763fdb4 100644 --- a/Core-API.md +++ b/Core-API.md @@ -168,47 +168,47 @@ Hides the node and removes the class that makes it "active". -### slide.show() +### `slide.show()` Shows the node and adds the class that makes it "active". -### slide.moveAfterLast() +### `slide.moveAfterLast()` Moves the section to the bottom of the section's list. **Emits**: dom:leave, dom:enter -### slide.moveBeforeFirst() +### `slide.moveBeforeFirst()` Moves the section to the top of the section's list. **Emits**: dom:leave, dom:enter -### slide.enable() +### `slide.enable()` Fires an enable event. **Emits**: slide:enable -### slide.disable() +### `slide.disable()` Fires a disable event. **Emits**: slide:disable -### Slide.isCandidate(el) ⇒ boolean +### `Slide.isCandidate(el)` ⇒ boolean Checks whether an element is a valid candidate to be a slide by ensuring it's a "section" element. **Returns**: boolean - Whether is candidate or not. | Param | Type | Description | | --- | --- | --- | -| el | Element | Element to be checked. | +| `el` | Element | Element to be checked. | -### Slide.getSectionFromEl(el) ⇒ Object +### `Slide.getSectionFromEl(el)` ⇒ Object Gets the section element from an inner element. **Returns**: Object - A map with the section and the