【文件属性】:
文件名称:ionic.time:离子时间插件,可让您显示更多人的时间
文件大小:1.99MB
文件格式:ZIP
更新时间:2021-05-25 17:28:03
javascript time ionic date momentjs
离子时间
这是一个离子时间插件,可让您显示更多的人类时间。
(这是一个ionic的时间插件,用于让你展现更人性化的时间。)
演示版
适用场景
带有AngularJS 1.x的Cordova / Ionic APP。
快速开始
在您的模块中注入“ $ ionicTime”,
angular.module('starter.controllers', ['$ionicTime'])
然后在您的控制器中注入“ chatime”服务:
.controller('myCtrl', function($scope, chatime){
$scope.enTime = chatime.get({
time: timeElement ,
type: 'chat',
config: {
lang: 'en',
},
})
})
然后,您
【文件预览】:
ionic.time-master
----www()
--------manifest.json(207B)
--------index.html(2KB)
--------service-worker.js(168B)
--------img()
--------lib()
--------js()
--------README.md(1KB)
--------css()
--------templates()
----bower.json(118B)
----scss()
--------ionic.app.scss(826B)
----.idea()
--------workspace.xml(31KB)
--------markdown-navigator()
--------ionic.time.iml(458B)
--------modules.xml(272B)
--------markdown-navigator.xml(4KB)
--------vcs.xml(180B)
----gulpfile.js(1KB)
----LICENSE(1KB)
----README.md(1KB)
----.bowerrc(29B)
----config.xml(1KB)
----.editorconfig(242B)
----hooks()
--------README.md(3KB)
--------after_prepare()
----.gitignore(145B)
----package.json(356B)