mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
Added state
as a property to Transform in the documentation (#526)
* Updates docs/reference/models/transform.md Auto commit by GitBook Editor * Updates docs/reference/models/transform.md Auto commit by GitBook Editor
This commit is contained in:
parent
d56c0d8d95
commit
5cf11f7df4
@ -11,6 +11,8 @@ All changes are performed through `Transform` objects, so that a history of chan
|
||||
|
||||
Transform methods can either operate on the [`Document`](./document.md), the [`Selection`](./selection.md), or both at once.
|
||||
|
||||
- [Properties](#properties)
|
||||
- [`state`](#state)
|
||||
- [Methods](#methods)
|
||||
- [`apply`](#apply)
|
||||
- [`call`](#call)
|
||||
@ -88,6 +90,13 @@ Transform methods can either operate on the [`Document`](./document.md), the [`S
|
||||
- [`undo`](#undo)
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### `state`
|
||||
|
||||
A [`State`](./state.md) with the transform's current operations applied. Each time you run a new transform function this property will be updated.
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
### `apply`
|
||||
|
Loading…
x
Reference in New Issue
Block a user