2021-05-25 14:32:53 +00:00
|
|
|
<template>
|
|
|
|
<GridLayout
|
2021-06-15 11:04:42 +00:00
|
|
|
:hidden="!toast"
|
2021-05-25 14:32:53 +00:00
|
|
|
row="1"
|
|
|
|
colSpan="2"
|
|
|
|
class="appbar snackBar"
|
|
|
|
columns="*"
|
|
|
|
@swipe="action"
|
2021-06-15 11:04:42 +00:00
|
|
|
@tap="action"
|
|
|
|
@loaded="onload"
|
2021-05-25 14:32:53 +00:00
|
|
|
>
|
2021-06-15 11:04:42 +00:00
|
|
|
<StackLayout minHeight="48">
|
|
|
|
<RLabel class="title msg" :text="toast" />
|
|
|
|
</StackLayout>
|
2021-05-25 14:32:53 +00:00
|
|
|
</GridLayout>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
2021-06-15 11:04:42 +00:00
|
|
|
props: ["toast", "action", "onload"],
|
2021-05-25 14:32:53 +00:00
|
|
|
};
|
|
|
|
</script>
|