Socket
Socket
Sign inDemoInstall

quasar-app-extension-q-otp

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    quasar-app-extension-q-otp

Quasar App Extension which injects a Vue component - QOtp


Version published
Maintainers
1
Install size
12.2 kB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 21 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc