123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- import { WebView } from 'react-native-webview';
- import React, { PureComponent } from 'react';
-
-
- import {
- Animated,
- Keyboard,
- SafeAreaView,
- TextInput,
- TouchableHighlight,
- TouchableOpacity,
- View,
- // Text,
- } from 'react-native';
- import {Text} as Text2 from 'react-native';
-
-
- import { Header, LoadingIndicator, Text } from '../react/features/base/react';
-
- type Props = {}
- class Wview_v1 extends PureComponent<Props> {
- constructor(props) {
- super(props);
- this.v1="a"
- clog("Wview_v1 init")
- }
-
- componentDidMount() {
- setInterval(() => {
- this.setState(() => {
- // console.log('setting state');
- var wv0_dev = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("wv0_dev",{that:this},{}) : {}
- // return { unseen: "does not display" }
- return { unseen: wv0_dev.ret }
- });
- }, 1000);
- }
-
- render() {
-
-
- var wb_url
-
- clog("Wview_v1 render")
- // console.log("wview_v1 render.")
-
- if (glob_vhook?.fns?.gen_xcal_room3) {
- wb_url = glob_vhook.fns.gen_xcal_room3().room_url
- } else {
- // wb_url = "https://excalidraw.videocorners.com/#room=4zmaf7d5jtcx4pqgruba,4zmaf7BMXbI6tCEiW7rbgy"
- wb_url = "https://excalidraw.videocorners.com/#room=4zxcald5jtcx4pqgruba,4zxcalBMXbI6tCEiW7rbgy"
- }
-
-
-
-
-
- var webview_style = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("webview_style",{that:this},{}) : {}
- var wv0_styles = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("wv0_styles",{that:this},{}) : {}
- // <View
- // style = {wv0_styles.v1 || {}}
- // >
- var wv0_styles_dev = this.wv0_styles_dev || {}
- // <View style = { wv0_styles.v1 || {} }>
- // style = {webview_style}
-
- // <WebView source = {{uri:"https://excalidraw.videocorners.com/#room=4zxcald5jtcx4pqgruba,4zxcalBMXbI6tCEiW7rbgy"}}
- // <WebView source = {{uri:"https://excalidraw.videocorners.com/#room=4zxcald5jtcx4pqgruba,4zxcalBMXbI6tCEiW7rbgy"}}
- return (
- <View style = { wv0_styles_dev.v1 || {} }>
- <Text style = { wv0_styles_dev.txt || {} }
- >
- Z
- </Text>
-
- <WebView source = {{uri:wb_url}}
- style = {wv0_styles_dev.webview_style || {}}
- ></WebView>
-
- </View>
- )
- }
- }
-
-
-
- export {Wview_v1}
|