The text in weex has no click effect by default. The official website has not found a way to obtain the press status. Is there anyone who can implement a function similar to Android's selector?
高洛峰2017-05-19 10:35:24
Don’t weex provide active pseudo-classes? You can set the css of click status
習慣沉默2017-05-19 10:35:24
Either you have a native developer partner and let him customize onecomponent
for you to use.
https://weex.incubator.apache...
Or you can implement it yourself using css
習慣沉默2017-05-19 10:35:24
I thought of a lucky method. The click event changes color and uses settimeout to delay the change back. This method is acceptable when the finger is not pressed and held intentionally. Hehe