forked from 0x2620/oxjs
add home button to doc page and example page
This commit is contained in:
parent
3286d80b40
commit
ba1a3c4b2a
4 changed files with 47 additions and 15 deletions
|
|
@ -329,11 +329,11 @@ Ox.DocPanel = function(options, self) {
|
|||
replace: self.options.replace
|
||||
})
|
||||
.bindEvent({
|
||||
close: function() {
|
||||
selectItem();
|
||||
},
|
||||
example: function(data) {
|
||||
that.triggerEvent('example', data);
|
||||
},
|
||||
select: function(data) {
|
||||
selectItem(data.id);
|
||||
}
|
||||
});
|
||||
that.$element.replaceElement(1, self.$page);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue