AngularPopup:Angular PopupModal 指令

时间:2021-06-21 00:47:37
【文件属性】:
文件名称:AngularPopup:Angular PopupModal 指令
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-21 00:47:37
JavaScript #Angular 弹出窗口 AngularJS 弹出/模态指令。 提供内容的叠加,这些内容将随着褪色的背景而进入和退出视图。 ##安装 通过添加到 bower.json 或手动安装使用 bower 进行安装。 bower install sm-angular-popup ##用法 将 sm.popup.css 添加到您的应用程序并包含 sm.popup 作为模块依赖项。 angular.module( ' app ' , [ ' sm.popup ' ]) ; 在您的控制器中,包含 popup 作为依赖项。 然后,您可以使用以下内容来显示弹出窗口。 popup.create({ controller: ' popupCtrl ' , templateUrl: ' popup.html ' }).open (); 要将数据传递给弹出控制器,您可以像这样使用数据键。 popup
【文件预览】:
AngularPopup-master
----readme.md(2KB)
----src()
--------sm.popup.js(3KB)
--------sm.popup.css(829B)
----bower.json(505B)

网友评论