Свойства / Properties
| Имя | Тип | Значения/Описание |
|---|---|---|
class |
String |
Добавляет пользовательский CSS-класс к компоненту. |
size |
String |
Размер поля: 'large', 'small'. |
type |
String |
'primary', 'success', 'info', 'warning', 'danger'. |
iconBefore |
String |
Название иконки в коллекции. |
Слоты / Slots
Default - текст названия или модуль
Пример использования / Example Usage
<script>let visual = false </script> <sw-dropdown class="custom-class" trigger="none" v-model="visual" maxWidth="250" > <sw-dropdown-item @click="visual = true"
iconBefore="documents">
Описание / Description
</sw-dropdown-item> </sw-dropdown>