我想把它作为HTMLelement,这样我就可以获得它的id,innerHTML等。但是,react会返回整个React.Component。
我想要什么
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool{
UIApplication.sharedApplication().statusBarStyle = UIStatusBarStyle.LightContent
return true
}

反应代码
<button onclick="document.write('this.innerHTML : '+this.innerHTML)">Click me</button>