【问题标题】:Do not create history entries on hash change不要在哈希更改时创建历史条目
【发布时间】:2014-12-19 20:02:16
【问题描述】:

我使用 AngularJs 和 fullPage.js。当您更改幻灯片时,fullPage.js 将更改 hash。在这种情况下,Angular 将创建历史条目。如何防止在哈希更改时创建历史条目?

  1. 我不使用任何路由器
  2. 我配置了$locationProvider.html5Mode(true),但没有帮助

【问题讨论】:

    标签: angularjs hash html5-history fullpage.js


    【解决方案1】:

    你不能。 Fullpage.js 旨在以这种方式工作。 有a topic opened for it on fullPage.js github

    希望它很快会成为插件中的一个选项。

    【讨论】:

      猜你喜欢
      • 2014-03-13
      • 2020-10-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-10
      • 2010-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多