nuke-view
v2.3.12
Published
视图
Downloads
100
Readme
View
- category: Components
- chinese: 视图
- type: Basic
Design
The View is a container component that can be regarded as a UIView on the Native side. It's liked <div>
in web side, which can be arbitrarily nested.
if it has an excess of nested layers, it will cause the page to flash out in android 5.0 or more.
View has the following default styles that don't need to be repeated in the project:
{
position: 'relative',
boxSizing: 'border-box',
display: 'flex',
flexDirection: 'column'
}
API
| Attribute | Description | Type | Default | | --------- | -------------- | -------- | ------- | | style | style | object | | onClick | clicking event | Function |
The Other
- Chat with @翊晨[yichen] in Dingtalk desktop App Download
- DingTalk Group