mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
Dev: Tool api doc
This commit is contained in:
@@ -66,12 +66,40 @@ console.html('<span style="color:red">Red</span>');
|
||||
|
||||
## Elements
|
||||
|
||||
Check dom element status.
|
||||
|
||||
### Config
|
||||
|
||||
|Name |Type |Desc |
|
||||
|-------------------|-------|---------------------|
|
||||
|overrideEventTarget|boolean|Catch Event Listeners|
|
||||
|
||||
## Network
|
||||
|
||||
Display performance timing, resource timing and xhr requests.
|
||||
|
||||
### Config
|
||||
|
||||
|Name |Type |Desc |
|
||||
|------------------|-------|--------------------------|
|
||||
|disablePerformance|boolean|Disable Performance Timing|
|
||||
|hideXhrResource |boolean|Hide Xhr Resource Timing |
|
||||
|overrideXhr |boolean|Catch Xhr Requests |
|
||||
|
||||
## Resources
|
||||
|
||||
LocalStorage, sessionStorage, cookies, scripts, styleSheets and images.
|
||||
|
||||
### Config
|
||||
|
||||
|Name |Type |Desc |
|
||||
|----------------|-------|------------------|
|
||||
|hideErudaSetting|boolean|Hide Eruda Setting|
|
||||
|
||||
## Sources
|
||||
|
||||
View json, html, js, css and http request detail.
|
||||
|
||||
## Info
|
||||
|
||||
Display special information, could be used for displaying user info to track
|
||||
@@ -154,3 +182,5 @@ Red means unsupported, otherwise ok. All buttons is linked directly to
|
||||
related materials in [Can I Use](http://caniuse.com/) website.
|
||||
|
||||
## Settings
|
||||
|
||||
Customization for all tools.
|
||||
|
||||
Reference in New Issue
Block a user