![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
github.com/SamuelTrottier/vue-wheel-select
A simple scrolling select and touch compatible component.
# npm
npm install vue-wheel-select --save
# Yarn
yarn add vue-wheel-select
<template>
<div>
<VueWheelSelect
v-model="selectedBrand"
:options="brands"
allowNullSelection
/>
</div>
</template>
<script>
import VueWheelSelect from 'vue-wheel-select';
export default {
data () {
return {
selectedBrand: null,
brands: [
'Scarpa',
'Black Diamond',
'La Sportiva',
'Tenaya',
'Five Ten',
'Mad Rock',
'Evolv',
'Red Chili',
],
}
},
components: {
VueWheelSelect
}
}
</script>
The component accepts these props:
Attribute | Type | Default | Description |
---|---|---|---|
v-model / value | Any | Set or Get selected value (required) | |
options | Array | null | Select options (required) s |
optionHeight | Number | 48 | Height of a single selectable item |
getOptionLabel | Function | Returns the option | Function called to display the label of each options |
getOptionKey | Function | Returns the option | Function called to set the option key |
allowNullSelection | Boolean | false | Add a null option |
nullSelectionMessage | String | 'Select an option' | Text to display for the null option |
FAQs
Unknown package
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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.