Once a new `Action` class is implemented, change the method `add_js(self, javascript: str)` to `add_action(self, action: Action)`. Use a `DeprecationWarning` with replacement.
Once a new
Actionclass is implemented, change the methodadd_js(self, javascript: str)toadd_action(self, action: Action).Use a
DeprecationWarningwith replacement.