Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

degree-picker

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

degree-picker

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

Vue degree picker

A degree picker component for Vue 3.

🚀 Installation

Install using your package manager of choice:

yarn add degree-picker

Register the component inside your main.ts file and import the stylesheet:

import degreePicker from "degree-picker";
import "degree-picker/dist/degree-picker.css";

const app = createApp(App);
app.use(degreePicker);

⚙️ Usage

<template>
  <degree-picker color="green" v-model="degrees" />
</template>

<script lang="ts" setup>
import degreePicker from "./components/degreePicker.vue";
import { ref } from "vue";
const degrees = ref(0);
</script>

📃 Props

IDTypeDefaultDescription
colorstringBackground color of the active value and clock hand
v-modelnumberStandard two way input
widthnumber/stringSets the width of the element - can be provided as a string like "290px" or "290" or a number, defaults to 290px
fullWidthbooleanIgnores the previous width prop and sets the width to 100% of the parent container
disabledbooleanMakes the component unclickable
readonlybooleanMakes the component unclickable, but does not make it seem disabled

Keywords

FAQs

Package last updated on 02 May 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc