Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateElement #4

Open
RonkTsang opened this issue Jun 18, 2018 · 0 comments
Open

updateElement #4

RonkTsang opened this issue Jun 18, 2018 · 0 comments
Labels
小点记录 记录小的改变点、改进点

Comments

@RonkTsang
Copy link
Owner

RonkTsang commented Jun 18, 2018

updateElement

// 原始样式
{
  style: {
     color: 'blue',
     background-color: 'white'
     flex: 2,
     line: 3
  }
}
// 向 native 发送 update 请求
{
  style: {
    color: 'red',                     // 改变 color
    background-color: ''      // 置空,表示删除
    border:1                      // 新增
  }
}
@RonkTsang RonkTsang added the 小点记录 记录小的改变点、改进点 label Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
小点记录 记录小的改变点、改进点
Projects
None yet
Development

No branches or pull requests

1 participant