Dev: Tool api doc

This commit is contained in:
surunzi
2016-12-31 19:06:07 +08:00
parent c3738be312
commit dbccb62173

View File

@@ -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.