質問編集履歴

3

詳細の追加

2016/09/26 23:20

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -68,6 +68,8 @@
68
68
 
69
69
  //「1」は表示されず、この関数は動いていない
70
70
 
71
+ //this.on('update', function(){}で括ってもうまくいかず
72
+
71
73
  onMouse(e) {
72
74
 
73
75
  this.show = true

2

簡単な修正

2016/09/26 23:20

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  <!--テキストエリアに入力したテキストを表示-->
18
18
 
19
- <raw content="{'<div><' + body.tag + ' ' + 'class=&quot;' + body.class + '&quot; onmouseover=' + "{onMouse}" + ' ' + 'onmouseout=' + "{offMouse}" + '>' + body.main + '</' + body.tag + '><div show=' + "{show}" + '>delete</div></div>'}" name='content' each={ body, i in bodyMixin.bodyContents } />
19
+ <raw content="{'<div><' + body.tag + ' ' + 'class=&quot;' + body.class + '&quot; onmouseover={onMouse} onmouseout={offMouse}>' + body.main + '</' + body.tag + '><div show={show}>delete</div></div>'}" name='content' each={ body, i in bodyMixin.bodyContents } />
20
20
 
21
21
 
22
22
 
@@ -66,7 +66,7 @@
66
66
 
67
67
 
68
68
 
69
- //「1」は表示されず、この関数は発火されていない
69
+ //「1」は表示されず、この関数は動いていない
70
70
 
71
71
  onMouse(e) {
72
72
 
@@ -76,7 +76,7 @@
76
76
 
77
77
  }
78
78
 
79
- //「2」は表示されず、この関数は発火されていない
79
+ //「2」は表示されず、この関数は動いていない
80
80
 
81
81
  offMouse(e) {
82
82
 
@@ -98,9 +98,9 @@
98
98
 
99
99
  <raw name="content" content="<div><p class=&quot;text&quot; onmouseover={onMouse} onmouseout={offMouse}>adfa</p><div show={show}>delete</div></div>"><div><div show="{show}">delete</div><p class="text" onmouseover="{onMouse}" onmouseout="{offMouse}">入力内容</p></div></raw>
100
100
 
101
+ <p class="text" onmouseover="{onMouse}" onmouseout="{offMouse}">入力内容</p>
102
+
101
103
  <div show="{show}">delete</div>
102
-
103
- <p class="text" onmouseover="{onMouse}" onmouseout="{offMouse}">入力内容</p>
104
104
 
105
105
  </raw>
106
106
 

1

誤字

2016/09/26 22:27

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -100,7 +100,7 @@
100
100
 
101
101
  <div show="{show}">delete</div>
102
102
 
103
- <p class="text" onmouseover="{onMouse}" onmouseout="{offMouse}">adfa</p>
103
+ <p class="text" onmouseover="{onMouse}" onmouseout="{offMouse}">入力内容</p>
104
104
 
105
105
  </raw>
106
106