Answer the question
In order to leave comments, you need to log in
How to get value of Javascript-Listener in Symfony?
I add my listener as follows, javascript on the side receives a value from the client, let's say the screen resolution and returns return, how do I get it back in symphony in php?
$eventDispatcher->addListener('OCA\Files::loadAdditionalScripts', function () {
script('myapp', 'script'); // adds js/script.js
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question