TS+Lit equivalent to $scope.$on("formSubmitting", function (ev, args)

Hi

Rewriting some custom properties to TS+Lit from angularjs.

In angularjs we had this event when you save or published:
$scope.$on(“formSubmitting”, function (ev, args).

How do I catch this in v15 using Typescript?

As far as I know there is no replacement for that event in v15. I have been looking for something like that throughout the codebase but it doesn’t exists. Recently an event has been added, but that one only happens after the save has actually happened. What sort of scenario do you need to cover with the formSubmitting event?

We have some “shared news” nodes. When publishing one of these, it’s copied onto some chosen sites. After that we want the ui to update, so it shows if went well and stuff. Thats why I need to do it on the publish event client side in typescript.