use_script
hook
#894
Labels
priority-3-low
May be resolved one any timeline.
type-investigation
About research and gathering information
Current Situation
Currently, there is no method to transmit the results of a JavaScript function to the backend.
Proposed Actions
Create a
use_script
hook that operates similarly tohtml.script
, but can return a result.For example,
Since this hook operates asynchronously, the interface should pretty much match our Django
use_query
hook.See this comment for traceability.
As a note, it's going to be very important for us to pre-populated the
this
element with the current DOM node.The text was updated successfully, but these errors were encountered: