Quill v2
This commit is contained in:
16
README.md
16
README.md
@@ -7,6 +7,20 @@
|
||||
|
||||
Usage: Install the VSCode extension "Quill".
|
||||
|
||||
## Rendering Elements:
|
||||
```
|
||||
document.body.append(
|
||||
p("Hi")
|
||||
.padding("top", 12),
|
||||
|
||||
Link({href: "google.com", name: "hey"})
|
||||
.background("green")
|
||||
|
||||
// NavigationBar()
|
||||
// .onClick()
|
||||
)
|
||||
```
|
||||
|
||||
## Boilerplate:
|
||||
- ```*html```: Type in an HTML file and select the suggestion to create HTML boilerplate.
|
||||
- ```*element```: Type in a JS file and select the suggestion to create JS Custom Element boilerplate.
|
||||
@@ -16,3 +30,5 @@ Clone this repository into the top level of the project you are working on, so t
|
||||
Use backticks with both to get HTML and CSS syntax highlighting.
|
||||
- ```css() or addStyle()```: Adds a style to a Quill style tag in the head.
|
||||
- ```html()```: Creates a parsed HTML element (which is not yet in the DOM)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user