You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by Hanks10100 <gi...@git.apache.org> on 2018/05/09 03:24:38 UTC
[GitHub] incubator-weex pull request #1158: [jsfm] Support sending stylesheets and cl...
GitHub user Hanks10100 opened a pull request:
https://github.com/apache/incubator-weex/pull/1158
[jsfm] Support sending stylesheets and class names to native
This a partial implementation to support managing style sheets in native (https://github.com/Hanks10100/weex-native-directive/issues/14).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-register-stylesheets
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/1158.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1158
----
commit e3b88b39c70ab064b8b029ecaeed511ff2cb47b2
Author: Hanks <zh...@...>
Date: 2018-05-09T03:18:11Z
* [jsfm] support sending stylesheets and class names to native
----
---
[GitHub] incubator-weex issue #1158: [jsfm] Support sending stylesheets and class nam...
Posted by weex-bot <gi...@git.apache.org>.
Github user weex-bot commented on the issue:
https://github.com/apache/incubator-weex/pull/1158
<!--
0 failure:
1 warning: No Changelog chan...
1 messages
-->
<table>
<thead>
<tr>
<th width="50"></th>
<th width="100%" data-danger-table="true">Warnings</th>
</tr>
</thead>
<tbody><tr>
<td>:warning:</td>
<td>No Changelog changes!</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th width="50"></th>
<th width="100%" data-danger-table="true">Messages</th>
</tr>
</thead>
<tbody><tr>
<td>:book:</td>
<td>danger test finished.</td>
</tr>
</tbody>
</table>
<p align="right">
Generated by :no_entry_sign: <a href="http://github.com/danger/danger-js/">dangerJS</a>
</p>
---
[GitHub] incubator-weex issue #1158: [jsfm] Support sending stylesheets and class nam...
Posted by MountainHill <gi...@git.apache.org>.
Github user MountainHill commented on the issue:
https://github.com/apache/incubator-weex/pull/1158
@Hanks10100 其实是目前我碰到一个问题----动态设置style
现在只能先定义好style中要设置的属性
```
:style="{color:item.color}"
```
无法动态设置style,如styleA设置颜色,styleB设置的颜色和字体
---
[GitHub] incubator-weex issue #1158: [jsfm] Support sending stylesheets and class nam...
Posted by Hanks10100 <gi...@git.apache.org>.
Github user Hanks10100 commented on the issue:
https://github.com/apache/incubator-weex/pull/1158
@MountainHill 这是一个内部改造,对提供的 API 无影响。
---
[GitHub] incubator-weex issue #1158: [jsfm] Support sending stylesheets and class nam...
Posted by MountainHill <gi...@git.apache.org>.
Github user MountainHill commented on the issue:
https://github.com/apache/incubator-weex/pull/1158
请问weex现在的版本(0.18.0)支持这个特性吗?
---