mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 20:59:15 +08:00
fix: fix doc title
This commit is contained in:
parent
a490782db2
commit
6b89777103
@ -1,9 +1,9 @@
|
||||
# g6-component-alipay
|
||||
# g6 for alipay
|
||||
|
||||
G6 Component for alipay miniapp, it's part of G6Mobile
|
||||
|
||||
| 属性名 | 默认值 | 类型 | 是否必传 | 描述 |
|
||||
| ------------ | ------ | -------- | -------- | --------------------------------------------------------------------------------------------------------- |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| width | 100 | Number | 否 | canvas 的宽度,这个值是页面中组件的宽度 |
|
||||
| height | 100 | Number | 否 | canvas 的高度,这个值是页面中组件的高度 |
|
||||
| pixelRatio | 1 | Number | 否 | 设备像素比,这个字段很关键!!!不传递绘制的图非高清!!!字段来自 getSystemInfo/getSystemInfoSync |
|
||||
@ -15,7 +15,7 @@ G6 Component for alipay miniapp, it's part of G6Mobile
|
||||
onInit 函数的回调
|
||||
|
||||
| 参数 | 描述 |
|
||||
| -------- | -------------------------------------------------------------------------------------------------------- |
|
||||
| --- | --- |
|
||||
| context | canvas 的 context,由组件创建 |
|
||||
| rect | 组件当前所在的位置 |
|
||||
| canvas | native canvas 返回的 element |
|
||||
|
@ -1,9 +1,9 @@
|
||||
# g6-component-wx
|
||||
# g6 for wx
|
||||
|
||||
G6 Component for wechat miniapp, it's part of G6Mobile
|
||||
|
||||
| 属性名 | 默认值 | 类型 | 是否必传 | 描述 |
|
||||
| ------------ | ------ | -------- | -------- | --------------------------------------------------------------------------------------------------------- |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| width | 100 | Number | 否 | canvas 的宽度,这个值是页面中组件的宽度 |
|
||||
| height | 100 | Number | 否 | canvas 的高度,这个值是页面中组件的高度 |
|
||||
| pixelRatio | 1 | Number | 否 | 设备像素比,这个字段很关键!!!不传递绘制的图非高清!!!字段来自 getSystemInfo/getSystemInfoSync |
|
||||
@ -15,7 +15,7 @@ G6 Component for wechat miniapp, it's part of G6Mobile
|
||||
onInit 函数的回调
|
||||
|
||||
| 参数 | 描述 |
|
||||
| -------- | -------------------------------------------------------------------------------------------------------- |
|
||||
| --- | --- |
|
||||
| context | canvas 的 context,由组件创建 |
|
||||
| rect | 组件当前所在的位置 |
|
||||
| canvas | native canvas 返回的 element |
|
||||
|
Loading…
Reference in New Issue
Block a user