0.1.3 • Published 2 months ago

quasar-app-extension-q-otp v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

q-otp

The q-otp quasar extension allows you to seamlessly add the QOtp component into your Quasar application.

Install

quasar ext add q-otp

Basic usage

<template>
  <QOtp
      placeholder="-"
      field-classes="q-ml-xs q-mr-xs"
      input-styles="opacity: 1 !important;"
      @complete="(code) => alert(code)"
  />
</template>
<script lang="ts" setup>
  import QOtp from 'quasar-app-extension-q-otp'
</script>

Documentation

Slots

Slot
control
footer

Content

AttributesType
placeholderString

State

AttributesType
autofocusBoolean
readonlyBoolean
disableBoolean
numNumber

Style

AttributesType
label-colorString
colorString
bg-colorString
darkBoolean
filledBoolean
outlinedBoolean
borderlessBoolean
standoutBoolean/String
hide-bottom-spaceBoolean
roundedBoolean
squareBoolean
denseBoolean
item-alignedBoolean
separatorString
conditional-classArray<String>
field-classesArray<String>
input-classesArray<String>
input-stylesString

Events

EventCallback
@change(pin) => String
@complete(pin) => String

Methods

MethodCallback
blur() => void
focus() => void
clear() => void
getPin() => String

Uninstall

quasar ext remove q-otp

Contributing

Feel free to open issues and pull requests!

License

MIT (c) Denis Baskovsky.

0.1.3

2 months ago

0.1.2

2 months ago

0.1.1

2 months ago

0.1.0

2 months ago

0.0.5

2 months ago

0.0.4

2 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago