亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

How to trigger the in-focus state of a button when another button is focused or has focus?
P粉257342166
P粉257342166 2024-04-02 16:49:31
0
1
662

View reference

When a (button) library name is selected or clicked, I want the next inactive button to become active (turn bright red).

I googled and found that there is a (blur) and (focus) event in angular

P粉257342166
P粉257342166

reply all(1)
P粉164942791

You can disable and enable buttons via JavaScript:

const normalButton = document.querySelector('.normal');
const disabledButton = document.querySelector('.disabled');

disabledButton.disabled = true;

normalButton.addEventListener("click", ()=> {
    disabledButton.disabled = false;
})

Click on 'aaaa' button to enable the other button

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template