poipoiiii/moonchess/web does not have a README file

    App

    type App

    Mutable application state.

    js_bind_buttons

    fn js_bind_buttons() -> Unit

    js_defer

    fn js_defer(cb : () -> Unit, ms : Int) -> Unit

    js_dom_init

    fn js_dom_init() -> Unit

    js_engine_depth

    fn js_engine_depth() -> Int

    js_hide_promotion

    fn js_hide_promotion() -> Unit

    js_initial_fen

    fn js_initial_fen() -> String

    js_render

    fn js_render(cells : String, status : String, selected : Int, targets : String, from : Int, to : Int, animate : Bool) -> Unit

    js_set_captured

    fn js_set_captured(by_white : String, by_black : String) -> Unit

    js_set_on_cell

    fn js_set_on_cell(cb : (Int, Int) -> Unit) -> Unit

    js_set_on_new

    fn js_set_on_new(cb : () -> Unit) -> Unit

    js_set_on_undo

    fn js_set_on_undo(cb : () -> Unit) -> Unit

    js_show_promotion

    fn js_show_promotion(is_white : Bool, cb : (Int) -> Unit) -> Unit