S
S
Sergey_Cherebedov2015-09-03 09:01:33
JavaScript
Sergey_Cherebedov, 2015-09-03 09:01:33

How to make a directive that will remove focus from an element after clicking on it?

Hello. Tell me how to make a directive that will remove focus from an element after clicking on it. I managed to do it like this , but it's too cumbersome. Because will need to be applied to multiple elements. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey_Cherebedov, 2015-09-03
@Sergey_Cherebedov

I solved the problem myself. Here .

S
sashabeep, 2015-09-03
@sashabeep

Why is this behavior necessary? To not have a stroke?
So in reset css add something about outline:0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question