typeahead.demo:这是 angular.js 指令的演示存储库,在 npm 上共享

时间:2021-07-06 11:08:09
【文件属性】:
文件名称:typeahead.demo:这是 angular.js 指令的演示存储库,在 npm 上共享
文件大小:257KB
文件格式:ZIP
更新时间:2021-07-06 11:08:09
JavaScript 预先输入.demo 这个演示展示了如何使用来自 npm 的 angular.js typeahead 指令。 交互式版本。 完成这项工作的步骤 从 npm 安装指令: npm i typeahead.an 在引导您的主要 Angular 应用程序之前,需要 npm 指令: require ( 'typeahead.an' ) ; var ngApp = angular . module ( 'MyModule' , [ ] ) ; require ( 'an' ) . flush ( ngApp ) ; // Finally bootstrap it: angular . bootstrap ( document , [ ngApp . name ] ) ; 现在您的指令已准备好在 html 中使用: < input type =" text " ng-mode
【文件预览】:
typeahead.demo-master
----.gitignore(97B)
----package.json(168B)
----external()
--------styles()
----LICENSE(1KB)
----index.js(2KB)
----README.md(824B)
----index.html(2KB)
----bundle.js(949KB)

网友评论