DEV: Trigger appEvent when topic progress component moves (#12030)

This commit is contained in:
Mark VanLandingham
2021-02-10 14:07:10 -06:00
committed by GitHub
parent 544a4e4b48
commit 50c3cc7d75

View File

@@ -185,6 +185,10 @@ export default Component.extend({
"margin-bottom",
!isDocked && composerHeight > draftComposerHeight ? "0px" : ""
);
this.appEvents.trigger("topic-progress:docked-status-changed", {
docked: isDocked,
element: this.element,
});
},
click(e) {