angular jsdom renderer:帮助在服务器端呈现有角度的页面
Angular JSdom渲染器帮助在服务器端呈现有角度的页面。安装npm install angular-jsdom-renderer用法// render using an interval poll selector var renderer = require ( 'angular-jsdom-renderer' ) ; renderer . render ( { t/* url to retrieve the html from */ turl : 'http://localhost:7559/' , t/* poll this selector until a match is found */ tpollSelector : 'body[data-content-loaded=true]' , t t/* how often to poll the give
文件列表
angular-jsdom-renderer-master.zip
(预估有个32文件)
angular-jsdom-renderer-master
.jshintrc
1KB
.gitignore
188B
package.json
1KB
grunt
jshint.coffee
115B
clean.coffee
242B
shell.coffee
565B
copy.coffee
198B
uglify.coffee
181B
暂无评论