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?
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
Don’t weex provide active pseudo-classes? You can set the css of click status
Either you have a native developer partner and let him customize one
component
for you to use.Or you can implement it yourself using css
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