components.txt listed it but no source existed, so the panel had no Interface Explorer button. Panel button that toggles the shell's inspect mode via the inspector capability. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
17 lines
270 B
MoonBit
17 lines
270 B
MoonBit
// Generated by `wit-bindgen` 0.63.0. DO NOT EDIT!
|
|
///|
|
|
pub fn is_on() -> Bool {
|
|
|
|
let result : Int = wasmImportIsOn();
|
|
let ret = (result != 0)
|
|
return ret
|
|
|
|
}
|
|
///|
|
|
pub fn set_on(on : Bool) -> Unit {
|
|
|
|
wasmImportSetOn((if on { 1 } else { 0 }));
|
|
|
|
}
|
|
|