Skip to content

Interactivity

APIs that enable richer user interactions.

Interactivity

Group by:

Sort by:

1

46.7%
25.9%
27.1%
15,716
2

31.2%
46.2%
22.4%
15,768
3

6.4%
14.2%
79.2%
15,584
4

4.7%
41.3%
53.7%
15,625
5

19.6%
78.3%
15,615

Experience

  • Used it: Respondents who have used an item.
  • Heard of it: Respondents who have heard about an item, but haven't used it.
  • Never heard of it: Respondents who have never heard about an item.

Sentiment

  • Positive: Respondents who are interested in learning more about a technology; or are willing to use it again.
  • Neutral: Responents who did not indicate any sentiment about a technology.
  • Negative: Respondents who are not interested in learning more about a technology; or have used it and had a negative experience.

DOM Attribute-related methods

Which of the following DOM attribute-related methods have you used?
0%
17%
35%
52%
70%
87%
1

element.classList

13,597
2

element.toggleAttribute(name, force)

8,026
3

element.getAttributeNames()

8,006
4

na

1,203
0%
17%
35%
52%
70%
87%
% of question respondents

HTML String-handling Features

Which of the following DOM HTML string-handling features have you used?
0%
19%
39%
58%
77%
97%
1

element.innerHTML

15,088
2

element.outerHTML

9,416
3

4,408
4

3,201
5

na

452
0%
19%
39%
58%
77%
97%
% of question respondents

Element-moving DOM Methods

Which of the following element-moving DOM methods have you used?
0%
16%
32%
48%
64%
79%
1

11,967
2

6,935
3

4,932
4

4,867
5

3,899
6

3,897
7

na

2,172
0%
16%
32%
48%
64%
79%
% of question respondents

Interactivity Methods

Which of these methods have you used to add interactivity or dynamically modify HTML?
0%
18%
36%
53%
71%
89%
1

Plain JavaScript (no frameworks or libraries)

13,921
2

JavaScript frameworks (React, Vue, etc.)

13,744
3

CSS for interactivity (toggles, tabs, etc.)

13,211
4

JavaScript DOM libraries (jQuery, etc.)

11,620
5

5,308
6

None of the above

62
0%
18%
36%
53%
71%
89%
% of question respondents

Interactivity Pain Points

What are your pain points around dynamic HTML changes?
Freeform
0%
3%
6%
9%
12%
15%
1

Browser support

2

DOM interactions

Answers matching “DOM interactions” 178
3

Education

Answers matching “Education” 161
4

Reliance on JavaScript

5

Event management

6

7

Accessibility

8

State management

9

Reactivity

10

Styling & customization

Answers matching “Styling & customization” 103
0%
3%
6%
9%
12%
15%
% of question respondents

Recursos recomanats

Vanilla JS: You Might Not Need a Framework
Maximiliano Firtman

Vanilla JS: You Might Not Need a Framework

See how you can build rich web apps and websites without depending on libraries or frameworks, using only the core JavaScript language. You'll
Gràcies als nostres socis per donar-nos suport! Més informació.