问题标签 [reakit]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
214 浏览

clojurescript - CSS and ReaKit from Fulcro

I've written a small experimental application in Fulcro "2.6.0-RC8". If you run it you will see that the writing underneath the picture of the kitten - "Description for the card" is red. This is good - things are working. However the two buttons below the picture of the kitten should not look the same, but look identical apart from the text. The "Press primary" button should have its text in white and its background should be red. What am I doing wrong?

Unfortunately the two buttons at the bottom look the same

0 投票
1 回答
154 浏览

reactjs - 使用反应创建复选框的问题

我实际上是在尝试使用 react 创建一个复选框,并且我已经尝试了很多方法,并且每次它都向我显示相同的输出:复选框的标签为透明颜色,始终位于左上方网页:

在此处输入图像描述

创建它的代码:

甚至没有复选框的迹象

0 投票
3 回答
1465 浏览

reactjs - React(Reakit):切换复选框时如何要求确认?

我想知道,是否有办法通过Reakit 的 checkbox进行确认。我正在使用Reakit,因为我找到了一种让它读取数据库布尔信息的快速方法,但我也欢迎其他方法!

我习惯于使用带有async和的按钮进行确认window.confirm

但我不知道如何使用复选框来做到这一点。简而言之,当用户打开/关闭复选框时,我希望页面确认(然后保存到数据库)。