Z
Z
zxcursed2021-09-27 11:21:58
React
zxcursed, 2021-09-27 11:21:58

How to get switch value in vkui?

How to find out what state the slider is in vkui? link for example: https://github.com/VKCOM/VKUI/tree/master/src/comp...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2021-09-27
@zxcursed

As well as with the usual input type="checkbox"one in React - either pass the checked value to the component yourself and the onChange function to change this value, or through ref, which in this case will be
easier

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question