mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
Dev: Expose show tool method
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
@import "../color";
|
||||
|
||||
|
||||
.dev-tools {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
@@ -24,6 +23,7 @@
|
||||
transform: translateZ(0);
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
display: none;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background: $gray-light;
|
||||
|
||||
@@ -66,6 +66,12 @@ module.exports = {
|
||||
|
||||
return this;
|
||||
},
|
||||
show(name)
|
||||
{
|
||||
devTools.showTool(name);
|
||||
|
||||
return this;
|
||||
},
|
||||
util
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user