Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 530 Bytes

data.md

File metadata and controls

21 lines (12 loc) · 530 Bytes

Data

import { Data } from 'slate'

Data is simply a thin wrapper around Immutable.Map, so that you don't need to ever depend on Immutable directly, and for future compatibility.

A data object can have any properties associated with it.

Static Methods

Data.create

Data.create(properties: Object) => Data

Create a data object from a plain Javascript object of properties.