react-native-htmlview

程序名称:react-native-htmlview

授权协议: ISC

操作系统: 跨平台

开发语言: JavaScript

react-native-htmlview 介绍

react-native-htmlview 是一个将 HTML 目录作为本地视图的控件,其风格可以定制。

应用示例:

代码示例:

var React = require('react-native')
var {Text, View, ListView} = Reactvar HTMLView = require('react-native-htmlview')
var ContentView = React.createClass({
  render() {    
    return (      
      var htmlContent = '<p><a href="">&hearts; nice job!</a></p>'
      <HTMLView
        value={htmlContent}
        onLinkPress={(url) => console.log('navigating to: ', url)}
        stylesheet={styles}
      />
    )
  }
})

react-native-htmlview 官网

https://github.com/jsdf/react-native-htmlview

相关编程语言

BBGestureBack Full screen return gesture(全屏手...
Framework7 或者叫 F7 是全功能的绑定 iOS 7 应用的...
iOS 调试库,支持 iOS8+,无需添加任何代码,方便 i...
DarkModeKit是在Apple官方的深色模式发布之前设计和...
SimpleNote iOS 版客户端。SimpleNote 是一款在多平...
Kivy iOS,此工具旨在为 iOS 编译必要的库以运行应用...