Giter Club home page Giter Club logo

Comments (4)

CruellyJoHn avatar CruellyJoHn commented on September 27, 2024 1

@danranVm @clfeng 麻烦大佬review下

from idux.

danranVm avatar danranVm commented on September 27, 2024

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

from idux.

danranVm avatar danranVm commented on September 27, 2024

API 很克制,很棒。有几点建议:

  • onExtraClicked 不建议提供,如果用户有处理事件的需求,就使用 slot 好了, 传入 string 的时候,card 只负责展示。
  • bordered => borderless, 默认值为 false ,当然这个可能需要再次和大家确认一下, 理由是使用更为方便:
<ix-card borderless ></ix-card>
<!-- 而不是 -->
<ix-card :bordered="false" ></ix-card>

from idux.

clfeng avatar clfeng commented on September 27, 2024

size 配置项的说明是指的卡片的大小吧?
当前api的配置项相对于antd来说是少了很多,个人觉得antd内置了很多的场景,这个我们可以后续考虑是否加上这些场景。然后再代码编写的时候可能要考虑的就是如果 以后要加上这些场景的话,代码是否好扩展

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.