Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
vue-ios13-segmented-control
Advanced tools
Readme
A Vue component inspired by the new skeumorphic segmented control in iOS 13.
npm i vue-ios13-segmented-control
<ios13-segmented-control v-model="value" :segments="segments"/>
import iOS13SegmentedControl from "@/vue-ios13-segmented-control.vue";
export default {
name: 'MyComponent',
components: {
"ios13-segmented-control": iOS13SegmentedControl
}
data() {
return {
value: "42",
segments: [
{
title: "Apple Music",
id: "0"
},
{
title: "Spotify",
id: "1"
},
{
title: "Deezer",
id: "2"
},
]
};
},
};
</script>
You'll need NPM and the Vue CLI.
npm install
npm run serve
You'll need to install Rollup.js to run the build script.
Install it with npm install --g rollup
npm run build
Running the build script generate main
(.ssr.js
), module
(.esm.js
), and unpkg
(.min.js
) versions in the dist
directory.
Styles based on this repo by @laurasandoval
The component development template I used is vue-sfc-rollup by Team Innovation
"iOS 13" is trademark by Apple Inc.
Throughout this package, "iOS 13" is universally spelled as a single word: ios13
FAQs
Vue.js radio button component inspired by the new skeuomorphic segmented control in iOS 13
The npm package vue-ios13-segmented-control receives a total of 23 weekly downloads. As such, vue-ios13-segmented-control popularity was classified as not popular.
We found that vue-ios13-segmented-control demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.