Skip to content

Commit

Permalink
docs: add notable api descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kagawagao committed Nov 3, 2021
1 parent ae6b87f commit 36ffd0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -121,6 +121,11 @@ export default {

All config defined in `G2Plot` [document](https://g2plot.antv.vision/zh/docs/manual/introduction) can be used as `props` or `attrs`

Notable API in `g2plot-vue`

- `chartRef`: `ref` of rendered `plot`, available after `plot` mounted, **NOT** component mounted
- `onReady`: `callback` after `plot` mounted, **NOT** component mounted

## FYI

- [Throw error: `Failed to mount component: template or render function not defined.` in `vue@2`](https://github.com/open-data-plan/g2plot-vue/issues/483)
Expand Down

1 comment on commit 36ffd0d

@vercel
Copy link

@vercel vercel bot commented on 36ffd0d Nov 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.