Skip to content

Commit

Permalink
doc(view): add view desc.
Browse files Browse the repository at this point in the history
  • Loading branch information
shangqunfeng committed May 29, 2024
1 parent 3353b02 commit 6960879
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs-vuepress/rn-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,23 @@
| 属性名 | 类型 | 默认值 | 说明 |
| ----------------------- | ------- | ------------- | ---------------------------------------------------------- |
| hover-class | string | | 指定按下去的样式类。 |

| hover-start-time | number | 50 | 按住后多久出现点击态,单位毫秒|
| hover-stay-time | number | 400 | 手指松开后点击态保留时间,单位毫秒 |

#### 事件
| 事件名 | 说明 |
| ----------------| --------------------------------------------------- |
| bindtap | 点击的时候触发
#### 注意事项
1. 未包裹text标签的文本,会自动包裹text标签。

### text

#### 属性
| 属性名 | 类型 | 默认值 | 说明 |
| ----------------------- | ------- | ------------- | ---------------------------------------------------------- |
| user-select | boolean | `false` | 文本是否可选 |
| disable-default-style | boolean | `false` | 禁止text组件的默认样式 |
| user-select | boolean | `false` | 文本是否可选 |
| disable-default-style | boolean | `false` | 会内置默认样式,比如fontSize为16。设置`true`可以禁止默认的内置样式。 |



Expand Down

0 comments on commit 6960879

Please sign in to comment.