1 | # we-edit-representation-html
|
2 |
|
3 | Pagination 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 | ```
|
9 | or
|
10 |
|
11 | ```js
|
12 | import Pagination from "we-edit-representation-pagination"
|
13 | let representation=<Pagination/>
|
14 | ReactDOM.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)
|