Add data-rotate-order to DOCUMENTATION.md, as well as a link to plugins README.md

This commit is contained in:
Henrik Ingo
2017-10-30 17:56:40 +02:00
parent c9c1943f39
commit 478a572294

View File

@@ -106,6 +106,13 @@ You can of course rotate it around Z axis with `data-rotate-z` - it has exactly
</div>
```
#### 3D Rotation Order (data-rotate-order)
The order in which the CSS `rotateX(), rotateY(), rotateZ()` transforms are applied matters. This is because each rotation is relative to the then current position of the element.
By default the rotation order is `data-rotate-order="xyz"`. For some advanced uses you may need to change it. The demo presentation [3D rotations](examples/3D-rotations/index.html) sets this attribute to rotate some steps into positions that are impossible to reach with the default order.
## CSS
### 4D States (.past, .present and .future classes)
@@ -189,6 +196,11 @@ It is recommended to add the class manually to the `body` element though, becaus
}
```
## Plugins
Many new features are implemented as plugins. The [Plugins documentation](src/plugins/README.md) is the starting place to learn about those, as well as the README.md of [each plugin](src/plugins/).
## JavaScript
### impress( [ id ] )