@tomatoes/mobile
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

tomatoes-mobile

Mobile end tools

Features

  • Interactive operation of vConsole & edura
  • Judge the operating environment
  • ...

Installing

$ yarn add @tomatoes/mobile

Usage

import { addVconsole, addEruda, isIos } from "@tomatoes/mobile";

/**
 * options:
 * It can be called by five finger touch
 */
addVconsole(alwaysShow?: boolean): void;
/**
 * options:
 * - Get request parameter add [eruda = true] to call
 * - LocalStorage sets the key of [active-eruda] to call
 */
addEruda(alwaysShow?: boolean): void;
/**
 * Is itIOS
 */
isIos(): boolean;

License

The MIT License

Package Sidebar

Install

npm i @tomatoes/mobile

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

5.32 kB

Total Files

11

Last publish

Collaborators

  • g0ngjie