1: <?php
2:
3: declare(strict_types=1);
4:
5: namespace Atk4\Ui\UserAction;
6:
7: use Atk4\Ui\Js\JsBlock;
8:
9: /**
10: * Add JS trigger for executing an action.
11: */
12: interface JsExecutorInterface extends ExecutorInterface
13: {
14: /**
15: * Return JS expression that will trigger action executor.
16: *
17: * @param array<string, string> $urlArgs
18: */
19: public function jsExecute(array $urlArgs): JsBlock;
20: }
21: