<template>
<ion-item>
<ion-label position="floating">Datetime</ion-label>
<ion-datetime></ion-datetime>
</ion-item>
<ion-item>
<ion-label position="floating">Select</ion-label>
<ion-select>
<ion-select-option value="">No Game Console</ion-select-option>
<ion-select-option value="nes">NES</ion-select-option>
<ion-select-option value="n64" selected>Nintendo64</ion-select-option>
<ion-select-option value="ps">PlayStation</ion-select-option>
<ion-select-option value="genesis">Sega Genesis</ion-select-option>
<ion-select-option value="saturn">Sega Saturn</ion-select-option>
<ion-select-option value="snes">SNES</ion-select-option>
</ion-select>
</ion-item>
<ion-item>
<ion-label>Toggle</ion-label>
<ion-toggle slot="end"></ion-toggle>
</ion-item>
<ion-item>
<ion-label position="floating">Floating Input</ion-label>
<ion-input></ion-input>
</ion-item>
<ion-item>
<ion-label>Input (placeholder)</ion-label>
<ion-input placeholder="Placeholder"></ion-input>
</ion-item>
<ion-item>
<ion-label>Checkbox</ion-label>
<ion-checkbox slot="start"></ion-checkbox>
</ion-item>
<ion-item>
<ion-label>Range</ion-label>
<ion-range></ion-range>
</ion-item>
</template>
<script>
import {
IonAvatar,
IonButton,
IonCheckbox,
IonDatetime,
IonIcon,
IonInput,
IonItem,
IonLabel,
IonRange,
IonSelect,
IonSelectOption,
IonText,
IonThumbnail,
IonToggle,
} from '@ionic/vue';
import { checkmarkCircle, closeCircle, home, informationCircle, navigate, shuffle, star } from 'ionicons/icons';
import { defineComponent } from 'vue';
export default defineComponent({
components: {
IonAvatar,
IonButton,
IonCheckbox,
IonDatetime,
IonIcon,
IonInput,
IonItem,
IonLabel,
IonRange,
IonSelect,
IonSelectOption,
IonText,
IonThumbnail,
IonToggle,
},
setup() {
return {
checkmarkCircle,
closeCircle,
home,
informationCircle,
navigate,
shuffle,
star,
};
},
});
</script>