Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rox-web

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-web - npm Package Compare versions

Comparing version 0.0.33 to 0.0.34

2

package.json
{
"name": "rox-web",
"version": "0.0.33",
"version": "0.0.34",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -1,3 +0,27 @@

# rox-web
---
subtitle: 游览器
group: Layout
---
组件描述...
# Web
web 内嵌容器
---
## 设计思路
在 native 端使用 weex 提供的 web 组件,在 web 端使用 iframe 抹平差异。
## API
参数 | 说明 | 类型 | 默认值
-----|-----|-----|-----
src | h5 src 地址 | string | 无
**注意,一定要声明宽高**
````js
<Web style={{width:'600rem',height:'300rem'}} src="https://m.taobao.com"></Web>
````
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc