Coder Social home page Coder Social logo

/xy-button about xy-ui HOT 10 OPEN

xboxyan avatar xboxyan commented on September 23, 2024
/xy-button

from xy-ui.

Comments (10)

XboxYan avatar XboxYan commented on September 23, 2024

xy-button

from xy-ui.

XboxYan avatar XboxYan commented on September 23, 2024

safaritab键导航有问题,好像是shadow-dom里层不能获焦。

from xy-ui.

XboxYan avatar XboxYan commented on September 23, 2024

@Valar103769
display:flex单词写错了,
focus()那里,enter可以触发click是什么意思?是指调用了focus之后,组件会帮我们在enter键上注册keyup事件,指向clixk事件吗?

原生button(其实是所有表单)都有这样一个特性,当该元素被focus时(可以是主动聚焦,也可以是通过键盘Tab键聚焦),按Enter是等同于鼠标左键,也就是默认的键盘访问特性,xy-button内部也是原生button,也支持这一特性(如果是div或者span则需要js处理才能实现)。

from xy-ui.

daleizi avatar daleizi commented on September 23, 2024

loading 在360浏览器下样式显示有问题

from xy-ui.

XboxYan avatar XboxYan commented on September 23, 2024

@daleizi 不考虑其他浏览器

from xy-ui.

daleizi avatar daleizi commented on September 23, 2024

from xy-ui.

XboxYan avatar XboxYan commented on September 23, 2024

@daleizi 跟数据没太大关系,渲染是交给用户了的,只要生成对应的html结构就可以了,想想平时原生表格是怎么样生成的,无非就是循环然后innerHTML就可以了

from xy-ui.

lolo5920 avatar lolo5920 commented on September 23, 2024

按钮组里讲的是紧密横排的方式,可以紧密竖排吗?但不是Block那种分开的。

from xy-ui.

XboxYan avatar XboxYan commented on September 23, 2024

@lolo5920 可以自己写样式就行了,不必用那个

from xy-ui.

lolo5920 avatar lolo5920 commented on September 23, 2024

from xy-ui.

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.