add HOOK_HEADLINES_SCROLL_HANDLER
This commit is contained in:
parent
e85cba5958
commit
efde6d36c7
|
@ -382,6 +382,9 @@ const Headlines = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
PluginHost.run(PluginHost.HOOK_HEADLINES_SCROLL_HANDLER);
|
||||
|
||||
} catch (e) {
|
||||
console.warn("scrollHandler", e);
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@ const PluginHost = {
|
|||
HOOK_HEADLINE_MUTATIONS: 15,
|
||||
HOOK_HEADLINE_MUTATIONS_SYNCED: 16,
|
||||
HOOK_HEADLINES_RENDERED: 17,
|
||||
HOOK_HEADLINES_SCROLL_HANDLER: 18,
|
||||
hooks: [],
|
||||
register: function (name, callback) {
|
||||
if (typeof(this.hooks[name]) == 'undefined')
|
||||
|
|
Loading…
Reference in New Issue