wt-status-select.vue
Specs
Props
| Name | Required | Types | Default | Description | Example | Deprecated |
|---|---|---|---|---|---|---|
status |
string |
AgentStatus.OFFLINE |
||||
statusDuration |
union |
0 |
||||
options |
Array |
- |
Events
| Name | Params | Description |
|---|---|---|
change |
Example Status Select
00:00:00
Code
vue
<script setup>
import { ref } from 'vue';
import { AgentStatus } from'@webitel/ui-sdk/enums';
const status = ref(AgentStatus.ONLINE);
</script>
<template>
<wt-status-select
:status="status"
@change="status = $event"
/>
</template>
<style scoped lang="scss"></style>