Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vue.js radio button component inspired by the new skeuomorphic segmented control in iOS 13

NotificationsYou must be signed in to change notification settings

AnalyzePlatypus/vue-ios13-segmented-control

Repository files navigation

A Vue component inspired by the new skeumorphic segmented control in iOS 13.

Live demo ›

Demo GIF

Install

npm i vue-ios13-segmented-control

Usage

<ios13-segmented-controlv-model="value":segments="segments"/>
importiOS13SegmentedControlfrom"@/vue-ios13-segmented-control.vue";exportdefault{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>

Live Development

You'll needNPM and theVue CLI.

npm install npm run serve

Building

You'll need to installRollup.js to run the build script.Install it withnpm install --g rollup

npm run build

Running the build script generatemain (.ssr.js),module (.esm.js), andunpkg (.min.js) versions in thedist directory.

Publish with:

npm run buildnpm publish

Thank you

Other

Throughout this package, "iOS 13" is universally spelled as a single word:ios13

About

Vue.js radio button component inspired by the new skeuomorphic segmented control in iOS 13

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp