Skip to main content
Back to plugins
@capgo/capacitor-textinteraction
Tutorial
@capgo/capacitor-textinteraction

Text Interaction

Enable advanced text selection, copy-paste, and interaction features in web views

Guide

Tutorial on Text Interaction

Using @capgo/capacitor-textinteraction

Toggle text interaction in Capacitor based iOS apps.

Install

bun add @capgo/capacitor-textinteraction
bunx cap sync

What This Plugin Exposes

  • toggle - Toggle text interaction (selection) on the Capacitor WebView.

Example Usage

toggle

Toggle text interaction (selection) on the Capacitor WebView.

import { TextInteraction } from '@capgo/capacitor-textinteraction';

await TextInteraction.toggle({} as TextInteractionOptions);

Full Reference

Keep going from Using @capgo/capacitor-textinteraction

If you are using Using @capgo/capacitor-textinteraction to plan native plugin work, connect it with @capgo/capacitor-textinteraction for the implementation detail in @capgo/capacitor-textinteraction, Getting Started for the implementation detail in Getting Started, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, and Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins.