列車情報ボタンのバック側用意完了
This commit is contained in:
@@ -725,24 +725,21 @@ modal_observer.observe(modal_content, {
|
||||
? 'function PopUpMenu(event,id,name,pdf,map,url,chk){window.ReactNativeWebView.postMessage(JSON.stringify({type:"PopUpMenu",event,id,name,pdf,map,url,chk}));}'
|
||||
: ``;
|
||||
|
||||
// const makeTrainMenu =
|
||||
// //trainMenu == "true"
|
||||
// true
|
||||
// ? `
|
||||
// function ShowTrainTimeInfo(trainNum,limited){
|
||||
// alert("hoge")
|
||||
// };
|
||||
// // if(!element.offclick){
|
||||
// // element.offclick = element.onclick.toString();
|
||||
// // }
|
||||
// // element.onclick = () =>{
|
||||
// // console.log("hoge")
|
||||
// // window.ReactNativeWebView.postMessage(element.offclick);
|
||||
// // }
|
||||
// `
|
||||
// : ``;
|
||||
const makeTrainMenu =
|
||||
//trainMenu == "true"
|
||||
true
|
||||
? `
|
||||
function ShowTrainTimeInfo(trainNum,limited){
|
||||
window.ReactNativeWebView.postMessage(JSON.stringify({type:"ShowTrainTimeInfo",trainNum,limited}));
|
||||
};
|
||||
`
|
||||
: ``;
|
||||
return (
|
||||
bootData + makeTrainView + trainIconMaker + textInsert + makeStationMenu
|
||||
//makeTrainMenu
|
||||
bootData +
|
||||
makeTrainView +
|
||||
trainIconMaker +
|
||||
textInsert +
|
||||
makeTrainMenu +
|
||||
makeStationMenu
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user