Giter Club home page Giter Club logo

Comments (4)

danranVm avatar danranVm commented on August 17, 2024

@Usualminds @danranVm 负责此组件的 review, API 设计完成后请 @ 他们

from idux.

danranVm avatar danranVm commented on August 17, 2024
  • decimalSeparator 和 groupSeparator,感觉意义不大?毕竟已经有 formatter 了
  • formatter 的类型就是 value => string 吧,插槽的名字应该叫 default 才对。
  • valueStyle 不需要,用户可以通过自定义less 变量或者直接添加 class 就好了。

from idux.

Usualminds avatar Usualminds commented on August 17, 2024
  • formatter 类型({value}) => string 建议修改为 (value) => stringv-slot 是什么场景,这里直接通过插槽自定义格式,应该可行?

from idux.

clfeng avatar clfeng commented on August 17, 2024
  • formatter 类型({value}) => string 建议修改为 (value) => stringv-slot 是什么场景,这里直接通过插槽自定义格式,应该可行?

这里感觉是一个考虑点,一开始的话是打算直接value,但是后面有觉得formatter的参数如果是一个对象,是不是更好一点?方便以后扩展?不过可能确实是比较难以理解,毕竟我看antd的时候,也是通过demo是用才理解的。可能已函数参数的数量增加作为后续扩展的考虑会好点

from idux.

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.