Demo code toggle updates

This commit is contained in:
Tuğçe Küçükoğlu 2023-03-13 16:31:27 +03:00
parent 1caef9aa99
commit 924dc74abf
3 changed files with 6 additions and 6 deletions

View file

@ -2,12 +2,12 @@
<DocSectionText v-bind="$attrs">
<p>Data can be passed to the component that is loaded by the Dialog and also from the component back to the caller component. Use the <i>open</i> function and pass your parameters with the <i>data</i> property in the options object.</p>
<DocSectionCode :code="code1" import hideCodeSandbox hideStackBlitz />
<DocSectionCode :code="code2" import hideCodeSandbox hideStackBlitz />
<DocSectionCode :code="code1" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
<DocSectionCode :code="code2" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
<p>Similarly when hiding a Dialog, any parameter passed to the <i>close</i> function is received from the <i>onClose</i> callback defined by the <i>open</i> function at the caller.</p>
<DocSectionCode :code="code3" import hideCodeSandbox hideStackBlitz />
<DocSectionCode :code="code4" import hideCodeSandbox hideStackBlitz />
<DocSectionCode :code="code3" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
<DocSectionCode :code="code4" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
</DocSectionText>
</template>