Capturing Page Source (HTML Snapshot) After Angular Templating

后端 未结 6 967
栀梦
栀梦 2020-12-29 05:58

Quick angular.js question...

If I have a webpage with content like this:

{{message}}

And I

6条回答
  •  离开以前
    2020-12-29 07:01

    If you want to be certain that your content is ready before the snapshot is taken, grunt-html-snapshots will wait until a selector is visible in the output (using jQuery is(":visible")) before taking the snapshot. Specific snapshot configuration options are found here.

提交回复
热议问题