Socket
Socket
Sign inDemoInstall

cosmic-tamil-keyboard

Package Overview
Dependencies
10
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cosmic-tamil-keyboard

Tamil keyboard React components


Version published
Weekly downloads
19
increased by72.73%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

##Install

npm install cosmic-tamil-keyboard

##Example

import { useRef, useState } from 'react';
import { Input } from 'antd';
import TamilKeybord  from "cosmic-tamil-keyboard";

const Apps =() =>{

const [data, setdata] = useState({ visible: true, inputs: "" }); const inputRef = useRef(); const keyboardRef = useRef();

const handlervalueget = (data) => { setdata((inputData) => ({ ...inputData, inputs: data, })) }; return ( <> <Input type="text" id="virtualkeyID" onChange={(val)=>onchange(val)}
onPaste={(e) => keyboardRef.current.handlePaste(e)} onKeyPress={(e) => keyboardRef.current.keypress(e)} onKeyDown={(e) => keyboardRef.current.keyup(e)} onCut={e => keyboardRef.current.handleCut(e)} value={data.inputs} ref={inputRef} />

     <TamilKeybord  keysound={true}
    visible={data.visible}
    keydatavalue={handlervalueget}
    ref={keyboardRef}
    inputid={"virtualkeyID"}
    inputref={inputRef} /> 
</>

); }

Keywords

FAQs

Last updated on 03 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc