MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / setNativeContextMenuDisabled

Method setNativeContextMenuDisabled

src/plugins/system/system.d.ts:293–293  ·  view source on GitHub ↗

* Enable/disable native WebView long-press context behavior. * Use this when rendering a custom editor context menu. * @param disabled * @param onSuccess * @param onFail

(
    disabled: boolean,
    onSuccess?: () => void,
    onFail?: OnFail,
  )

Source from the content-addressed store, hash-verified

291 * @param onFail
292 */
293 setNativeContextMenuDisabled(
294 disabled: boolean,
295 onSuccess?: () => void,
296 onFail?: OnFail,

Callers 2

beforeRenderFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected