Function yewdux::listener::init_listener
source · pub fn init_listener<L: Listener>(listener: L, cx: &Context)
Expand description
Initiate a Listener. If this listener has already been initiated, it is dropped and replaced with the new one.