文件名称:angular-eve-img:Angular模块可轻松生成到Eve Online静态图像的链接
文件大小:3KB
文件格式:ZIP
更新时间:2024-05-31 21:09:04
JavaScript
创建Eve Online图片网址的Angular模块。 所有图像均参考https://image.eveonline.com/ 安装 bower install angular-eve-img --save 用法 app = angular.module('app', ['trichner.angular-eve-img']); ... app.controller('MyController', function(EveIMG){ // should result in 'Character Portrait URL: https://image.eveonline.com/Character/3003981_256.jpg' console.log('Character Portrait URL: ' + EveIMG.imgUrlCharacter(3003981,512)
【文件预览】:
angular-eve-img-master
----.gitignore(48B)
----karma.conf.js(2KB)
----Readme.md(482B)
----eveIMG.test.js(1KB)
----bower.json(544B)
----eveIMG.js(1KB)