Name | Module | Package |
---|---|---|
LitElement |
lit |
Name | Privacy | Type | Default | Description | Inherited From |
---|---|---|---|---|---|
allowLocalFile |
boolean |
true |
If true, the user can select a local file to open. |
Name | Description |
---|---|
sclTypes |
The list of SCL types. |
sclList |
The list of SCL documents. |
The default slot. |
Private API
Name | Privacy | Type | Default | Description | Inherited From |
---|---|---|---|---|---|
sclFileUI |
private | HTMLInputElement |
the file input element. |
Name | Privacy | Description | Parameters | Return | Inherited From |
---|---|---|---|---|---|
getSclFile |
private | parses selected SCL document and triggers a "doc-retrieved" event | `fileObj: { |
isLocal: boolean;
evt: Event;
docId?: string;
}|
Promise | | |
renderFileSelect| private | renders the file selector | |
TemplateResult` | |
Name | Description | Parameters | Return |
---|---|---|---|
newDocRetrievedEvent |
localFile: boolean, doc: Document, docName: string, docId: string |
DocRetrievedEvent |
Kind | Name | Declaration | Module | Package |
---|---|---|---|---|
js |
newDocRetrievedEvent |
newDocRetrievedEvent | src/compas-open.ts | |
js |
CompasOpenElement |
CompasOpenElement | src/compas-open.ts |
Kind | Name | Declaration | Module | Package |
---|---|---|---|---|
custom-element-definition |
compas-open |
CompasOpenElement | /src/compas-open.js | |
js |
CompasOpenElement |
CompasOpenElement | src/CompasOpen.ts | |
js |
DocRetrievedEvent |
DocRetrievedEvent | src/CompasOpen.ts |