Skip to content

Commit 4ec7251

Browse files
save file
1 parent 7f862d8 commit 4ec7251

File tree

1 file changed

+79
-81
lines changed

1 file changed

+79
-81
lines changed
Lines changed: 79 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,79 @@
1-
## Description
2-
3-
The web-console provides a console like dev tools in a webpage
4-
5-
6-
## Include
7-
8-
```
9-
10-
<web-console component></web-console>
11-
12-
```
13-
14-
## initmod
15-
16-
17-
name | description
18-
----------|------------
19-
$ | the dom helper library
20-
ace | a global reference to ace editor, otherwise each instance of the web-editor will load its own ace editor, specifying this ensures its only loaded once
21-
embed | allows reading the supported attributes from another node
22-
config | config parameters, see below
23-
echo | whether to echo the output to the dev tools console
24-
25-
26-
## api
27-
28-
### attribute
29-
30-
these attribute can be defined on the html tag itself
31-
32-
attribute | description
33-
--------- |-----------
34-
fullsize | the console will keep expanding to show all content
35-
h \| height | sets the height of the console
36-
37-
38-
### module
39-
40-
methods without a description are not currently implmented and are passed through to dev tools
41-
42-
43-
name|description
44-
---|---
45-
**standard**|
46-
initmod|standard function for importing local dependencies
47-
init|standard initialisation function
48-
initdom|standard function to setup the dom
49-
|
50-
|
51-
write|write to the console, without adding a newline character at the end of the output
52-
json|write json stringified output to the console
53-
|
54-
|
55-
assert|
56-
clear|clear the console
57-
count|
58-
countReset|
59-
debug|write debug information to the console
60-
dir|
61-
dirxml|
62-
error|display error information in the console
63-
group|
64-
groupCollapsed|
65-
groupEnd|
66-
info|
67-
log|log data to the console
68-
profile|
69-
profileEnd|
70-
table|
71-
time|
72-
timeEnd|
73-
timeLog|
74-
timeStamp|
75-
trace|
76-
warn|display warn information in the console
77-
|
78-
|
79-
test|display test data in the console, for quick tests
80-
81-
1+
## Description
2+
3+
The web-console provides a console like dev tools in a webpage
4+
5+
6+
## Include
7+
8+
```
9+
10+
<web-console component></web-console>
11+
12+
```
13+
14+
## initmod
15+
16+
17+
name | description
18+
----------|------------
19+
$ | the dom helper library
20+
ace | a global reference to ace editor, otherwise each instance of the web-console will load its own ace editor, specifying this ensures its only loaded once
21+
embed | allows reading the supported attributes from another node
22+
config | config parameters, see below
23+
echo | whether to echo the output to the dev tools console
24+
25+
26+
## api
27+
28+
### attribute
29+
30+
these attribute can be defined on the html tag itself
31+
32+
attribute | description
33+
--------- |-----------
34+
fullsize | the console will keep expanding to show all content
35+
h \| height | sets the height of the console
36+
37+
38+
### module
39+
40+
methods without a description are not currently implmented and are passed through to dev tools
41+
42+
43+
name|description
44+
---|---
45+
**standard**|
46+
initmod|standard function for importing local dependencies
47+
init|standard initialisation function
48+
initdom|standard function to setup the dom
49+
|
50+
|
51+
write|write to the console, without adding a newline character at the end of the output
52+
json|write json stringified output to the console
53+
|
54+
|
55+
assert|
56+
clear|clear the console
57+
count|
58+
countReset|
59+
debug|write debug information to the console
60+
dir|
61+
dirxml|
62+
error|display error information in the console
63+
group|
64+
groupCollapsed|
65+
groupEnd|
66+
info|
67+
log|log data to the console
68+
profile|
69+
profileEnd|
70+
table|
71+
time|
72+
timeEnd|
73+
timeLog|
74+
timeStamp|
75+
trace|
76+
warn|display warn information in the console
77+
|
78+
|
79+
test|display test data in the console, for quick tests

0 commit comments

Comments
 (0)