UNPKG

568 BMarkdownView Raw
1# we-edit-representation-html
2
3Pagination representation is used to compose document to pages, and then you can use composed document to output PDF/PCL/...
4
5## example
6```jsx
7 <Representation type="pagination"/>
8```
9or
10
11```js
12import Pagination from "we-edit-representation-pagination"
13let representation=<Pagination/>
14ReactDOM.render(<Editor representation={<Pagination/>}/>)
15```
16
17## components
18### Html: default, auto register representation[type="html"]
19### Output: inherit Emitter.Format to provide output interface with following functions
20>output(content stream)