加载中...

1.6 Built-in Modules


How to use

You can use a simply way like require('@weex-module/name') to access the apis of module. e.g.

var dom = require('@weex-module/dom');
dom.scrollToElement(this.$el('someIdForElement'), {
    offset: 0
});

还没有评论.