mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-13 10:48:35 +08:00
Dev: Rename ext es6 to js
This commit is contained in:
19
src/DevTools/Tool.js
Normal file
19
src/DevTools/Tool.js
Normal file
@@ -0,0 +1,19 @@
|
||||
export default class Tool
|
||||
{
|
||||
init($el)
|
||||
{
|
||||
this._$el = $el;
|
||||
}
|
||||
show()
|
||||
{
|
||||
this._$el.show();
|
||||
|
||||
return this;
|
||||
}
|
||||
hide()
|
||||
{
|
||||
this._$el.hide();
|
||||
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user