質問編集履歴
2
補足情報に追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -78,6 +78,20 @@
|
|
78
78
|
```
|
79
79
|
|
80
80
|
|
81
|
+
|
82
|
+
|
81
83
|
### 補足情報(FW/ツールのバージョンなど)
|
82
84
|
|
83
|
-
ons-splitterとons-navigatorが相性が悪いようなのでifalmeで問題を表示しています。
|
85
|
+
ons-splitterとons-navigatorが相性が悪いようなのでifalmeで問題を表示しています。
|
86
|
+
|
87
|
+
データの読み取りについては以下で行えました。
|
88
|
+
```javascript
|
89
|
+
//ローカルストレージから読み取り
|
90
|
+
if(window.localStorage){
|
91
|
+
LocalStorage = Window.LocalStorage;
|
92
|
+
score = parseInt(window.localStorage.getItem("score"));
|
93
|
+
if(!score)score = 0 ;
|
94
|
+
current = parseInt(window.localStorage.getItem("current"));
|
95
|
+
if(!current)current = 0 ;
|
96
|
+
}
|
97
|
+
```
|
1
試したことを追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -70,8 +70,14 @@
|
|
70
70
|
|
71
71
|
### 試したこと
|
72
72
|
|
73
|
-
|
73
|
+
http://javascriptist.net/ref/element.style.width.html
|
74
74
|
|
75
|
+
ここにあるサンプルコードをやってみようとしたのですが、下記のエラーとなりできませんでした。
|
76
|
+
```
|
77
|
+
Uncaught TypeError: Cannot read property 'style' of null
|
78
|
+
```
|
79
|
+
|
80
|
+
|
75
81
|
### 補足情報(FW/ツールのバージョンなど)
|
76
82
|
|
77
83
|
ons-splitterとons-navigatorが相性が悪いようなのでifalmeで問題を表示しています。
|