问题标签 [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.
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?
reactjs - React(Reakit):切换复选框时如何要求确认?
我想知道,是否有办法通过Reakit 的 checkbox进行确认。我正在使用Reakit
,因为我找到了一种让它读取数据库布尔信息的快速方法,但我也欢迎其他方法!
我习惯于使用带有async
和的按钮进行确认window.confirm
:
但我不知道如何使用复选框来做到这一点。简而言之,当用户打开/关闭复选框时,我希望页面确认(然后保存到数据库)。