You've already forked AstralRinth
forked from didirus/AstralRinth
Fix page for modal documentation (#132)
This commit is contained in:
@@ -4,13 +4,13 @@
|
|||||||
<DemoContainer>
|
<DemoContainer>
|
||||||
<Button :action="() => this.$refs.reportModal.show()">Show Report Modal</Button>
|
<Button :action="() => this.$refs.reportModal.show()">Show Report Modal</Button>
|
||||||
<Button :action="() => this.$refs.confirmModal.show()">Show Confirm Modal</Button>
|
<Button :action="() => this.$refs.confirmModal.show()">Show Confirm Modal</Button>
|
||||||
<ModalReport
|
<ReportModal
|
||||||
ref="reportModal"
|
ref="reportModal"
|
||||||
itemType="project"
|
itemType="project"
|
||||||
:reportTypes="['cringitude', 'rudeness', 'notgamer', 'windowsuser']"
|
:reportTypes="['cringitude', 'rudeness', 'notgamer', 'windowsuser']"
|
||||||
>
|
>
|
||||||
</ModalReport>
|
</ReportModal>
|
||||||
<ModalConfirm
|
<ConfirmModal
|
||||||
ref="confirmModal"
|
ref="confirmModal"
|
||||||
title="Are you sure you want to delete this version?"
|
title="Are you sure you want to delete this version?"
|
||||||
description="This will remove this version forever (like really forever)."
|
description="This will remove this version forever (like really forever)."
|
||||||
@@ -18,13 +18,13 @@
|
|||||||
proceed-label="Delete"
|
proceed-label="Delete"
|
||||||
confirmationText="Hello"
|
confirmationText="Hello"
|
||||||
>
|
>
|
||||||
</ModalConfirm>
|
</ConfirmModal>
|
||||||
</DemoContainer>
|
</DemoContainer>
|
||||||
:::
|
:::
|
||||||
|
|
||||||
```vue
|
```vue
|
||||||
<Button :action="() => this.$refs.reportModal.modal.show()">Show Modal</Button>
|
<Button :action="() => this.$refs.reportModal.modal.show()">Show Modal</Button>
|
||||||
<ModalReport
|
<ReportModal
|
||||||
ref="reportModal"
|
ref="reportModal"
|
||||||
itemType="project"
|
itemType="project"
|
||||||
:reportTypes="['cringitude', 'rudeness', 'notgamer', 'windowsuser']"
|
:reportTypes="['cringitude', 'rudeness', 'notgamer', 'windowsuser']"
|
||||||
|
|||||||
Reference in New Issue
Block a user