V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
ik0r

Vue 2 实现的 web 版 UIAlertView 和 UIActionSheet

  •  
  •   ik0r · Apr 28, 2017 · 3383 views
    This topic created in 3286 days ago, the information mentioned may be changed or developed.

    在用 angular.js 的时候, 由于界面 UI 需要保持和 iOS 的 UIAlertView 一致, 所以实现了一个 angular-ios-alertview, 同时附带着实现了一个 angular-ios-actionsheet.

    后来切换到了 vue, 也就跟着一起实现了.

    已经加了 .d.ts 文件, 对 typescript types 提供支持

    vue-ios-alertview https://github.com/Treri/vue-ios-alertview

    vue-ios-actionsheet https://github.com/Treri/vue-ios-actionsheet

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2734 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 15:46 · PVG 23:46 · LAX 08:46 · JFK 11:46
    ♥ Do have faith in what you're doing.