Skip to content

Commit 2e4e29c

Browse files
save file
1 parent 9538530 commit 2e4e29c

1 file changed

Lines changed: 20 additions & 5 deletions

File tree

‎utils/editors/html/code-explorer/v1.0/code-explorer-v1.0.html‎

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181

8282

83-
83+
var btn = {};
8484
var sort = {};
8585
sort.alpha = {};
8686
sort.source = {};
@@ -101,15 +101,21 @@
101101

102102
obj.initdom = async function(){
103103
debug('initdom');
104-
shadow = host.shadowRoot;
104+
105+
shadow = host.shadowRoot;
106+
107+
108+
$(shadow,'#hdr #update').onclick = btn.update;
105109

106110

107-
view = $(shadow,'#view');
108111

109-
ui.fn = $(shadow,'.fn');
112+
113+
view = $(shadow,'#view');
114+
115+
ui.fn = $(shadow,'.fn');
110116
ui.fn.remove();
111117

112-
ui.label = $(shadow,'.label');
118+
ui.label = $(shadow,'.label');
113119
ui.label.remove();
114120

115121

@@ -120,6 +126,15 @@
120126
//:
121127

122128

129+
btn.update = function(){
130+
131+
update();
132+
133+
}//update
134+
135+
136+
//:
137+
123138

124139
obj.update = update;
125140

0 commit comments

Comments
 (0)