chore(js): added glue clear callback fn for cursor controller

This commit is contained in:
frelodev 2024-09-26 09:38:05 +02:00
parent 0b471b72fa
commit be055c8e05

View file

@ -62,7 +62,10 @@ impl CursorController {
Ok(()) Ok(())
} }
#[napi(js_name = "clear_callback")]
pub fn js_clear_callback(&self) {
self.clear_callback();
}
#[napi(js_name = "send")] #[napi(js_name = "send")]
pub async fn js_send(&self, pos: JsCursor) -> napi::Result<()> { pub async fn js_send(&self, pos: JsCursor) -> napi::Result<()> {