pos-markdown-document
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
editable |
editable |
Whether the current user has the permission to edit the file | boolean |
false |
file |
-- | The file to show / edit | SolidFile |
undefined |
saveStatus |
save-status |
Current save status | "failed" \| "idle" \| "saving" |
'idle' |
Events
| Event | Description | Type |
|---|---|---|
pod-os:document-modified |
Event emitted when the document has been modified | CustomEvent<ModifiedFile> |
Methods
startEditing() => Promise<void>
Switch to editing mode
Returns
Type: Promise<void>
stopEditing() => Promise<void>
Switch to view mode
Returns
Type: Promise<void>
Dependencies
Used by
Graph
graph TD;
pos-document --> pos-markdown-document
style pos-markdown-document fill:#f9f,stroke:#333,stroke-width:4px
Built with StencilJS