回答編集履歴

1

a

2016/11/01 02:39

投稿

pinpikokun
pinpikokun

スコア376

test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  $(function(){
26
26
 
27
- $('.pop').on('click',function(e){
27
+ $('.pop ons-list-item').on('click',function(e){
28
28
 
29
29
  $("#result").html($(this).attr("name") + "をクリックしました");
30
30
 
@@ -44,13 +44,13 @@
44
44
 
45
45
  <ons-popover direction="down" id="popover">
46
46
 
47
- <ons-list>
47
+ <ons-list class="pop">
48
48
 
49
- <ons-list-item class="pop" name="new">新着通知</ons-list-item>
49
+ <ons-list-item name="new">新着通知</ons-list-item>
50
50
 
51
- <ons-list-item class="pop" name="folder">フォルダを作成</ons-list-item>
51
+ <ons-list-item name="folder">フォルダを作成</ons-list-item>
52
52
 
53
- <ons-list-item class="pop" name="edit">編集</ons-list-item>
53
+ <ons-list-item name="edit">編集</ons-list-item>
54
54
 
55
55
  </ons-list>
56
56