当我使用任何样机模式就像<span class="pat-moment">2016-07-30T15:10:00</span>在faceted:view(自定义视图eea.facetednavigation)由于内容与JavaScript注入的模式是不是在所有的工作.
在/sf/answers/2498998211/ @ebrehault写道模式是在加载时初始化,如果DOM的变化,并包含了新的元素,你需要调用Registry.scan($('#content-core'))这里Registry是pat-registry和#content-core页面注入部分.
我如何在eea.facetednavigation(https://github.com/eea/eea.facetednavigation)的上下文中这样做?它使用事件系统(参见https://github.com/eea/eea.facetednavigation/blob/master/eea/facetednavigation/browser/javascript/view.js).我如何收听其中一个事件,我需要哪一个,然后如何调用扫描?