You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "myeveryheart (JIRA)" <ji...@apache.org> on 2017/11/08 03:42:00 UTC

[jira] [Created] (WEEX-99) The setViewport method in WXMetaModule is ASYN right now which makes weexInstance.viewportWidth setted after view created.

myeveryheart created WEEX-99:
--------------------------------

             Summary: The setViewport method in WXMetaModule is ASYN right now which makes weexInstance.viewportWidth setted after view created.
                 Key: WEEX-99
                 URL: https://issues.apache.org/jira/browse/WEEX-99
             Project: Weex
          Issue Type: Bug
            Reporter: myeveryheart
            Assignee: Adam Feng
         Attachments: 粘贴图片.png, 粘贴图片1.png, 粘贴图片2.png, 粘贴图片3.png

The meta module can be used to declare meta information for a single page, such as the viewport of the container.
It provides a method 'setViewport' to change the viewport of the page.
But the method is ASYN right now which makes weexInstance.viewportWidth setted after view created.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)