typedef js.html.VoidCallback = Bool

Available on js