Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csskit/csskit
/ define
Method
define
website/script/index.js:205–207 ·
view source on GitHub ↗
(tagName = "csskit-editor")
Source
from the content-addressed store, hash-verified
203
204
class
CsskitEditor extends HTMLElement {
205
static define(tagName =
"csskit-editor"
) {
206
customElements.define(tagName, this);
207
}
208
209
get code() {
210
return
this.view.state.doc.toString();
Callers
nothing calls this directly
Calls
1
define
Method · 0.45
Tested by
no test coverage detected