MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / constructor

Method constructor

openlibrary/components/lit/OLButton.js:45–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 constructor() {
46 super();
47 this.variant = 'primary';
48 this.size = 'medium';
49 this.type = 'button';
50 this.loading = false;
51 this.disabled = false;
52 this.fullWidth = false;
53 }
54
55 connectedCallback() {
56 // Capture the author's children (the label) before Lit's first render

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected