Git Product home page Git Product logo

Comments (3)

errorrik avatar errorrik commented on July 23, 2024

我怎么看这些个方法这么陌生呢。。。当时讨论难道我参与了。。。

from esui.

otakustay avatar otakustay commented on July 23, 2024

已在 4b64a40 中搞定,请组织放心

稍微修改了一下标准,后续补上,主要区别是:

  • <div>main了,为了方便未来扩展些啥
  • 用一个<label>叠在文本框上当placeholder,只用value的话做完全的rawValueinput.value的同步很困难,现代浏览器直接用placeholder属性了,不创建这个<label>

后续还有些要做:

  • 加上autoFocus属性,目测要重写render方法
  • 加上focus()方法

from esui.

Justineo avatar Justineo commented on July 23, 2024

<label> 叠我觉得是最完美的兼容方案了...

from esui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.