Files
eruda/src/DevTools/Tool.js
2018-01-03 16:07:00 +08:00

24 lines
313 B
JavaScript

import {Class} from '../lib/util';
export default Class({
init($el)
{
this._$el = $el;
},
show()
{
this._$el.show();
return this;
},
hide()
{
this._$el.hide();
return this;
},
destroy()
{
this._$el.remove();
}
});