jaxxreal / tricky-input

A tricky input component | a showcase for https://pachca.com/

Home Page:https://codesandbox.io/s/github/jaxxreal/tricky-input

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tricky-input

Created with CodeSandbox & CRA

Requirements

You need to implement <Input /> component with following restrictions:

  1. You can't use <input>, <textarea> and contenteditable attribute.
  2. You can't add event handlers on elements rendered by the <Input /> component: addEventListener, onChange, onClick and so on.

A minimal version of <Input /> should be able to move cursor, add and remove character. Any additions are welomce!

About

A tricky input component | a showcase for https://pachca.com/

https://codesandbox.io/s/github/jaxxreal/tricky-input


Languages

Language:JavaScript 52.8%Language:HTML 27.8%Language:CSS 19.4%