Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Корректирует описание stopPropagation() в доке .addEventListener() #5648

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

vitya-ne
Copy link
Contributor

Исправляет неточность в описании stopPropagation().
Метод позволяет остановить не только "всплытие", но и "захват" события.

MDN:

The stopPropagation() method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.

Чек-лист

  • Текст оформлен согласно руководству по стилю
  • Ссылки на внутренние материалы начинаются со слеша и заканчиваются слэшем либо якорем на заголовок (/css/color/, /tools/json/, /tools/gulp/#kak-ponyat)
  • Ссылки на картинки, видео и демки относительные (images/example.png, demos/example/, ../demos/example/)

@vitya-ne vitya-ne added улучшение Доработка существующего js Контент по JavaScript labels Jan 18, 2025
@vitya-ne vitya-ne self-assigned this Jan 18, 2025
@github-actions github-actions bot added the дока Справочный материал label Jan 18, 2025
AKazartsev777

This comment was marked as off-topic.

Copy link
Member

@Inventoris Inventoris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Классно, суть кроется в мелочах!

Оставил чуть комментов.

js/element-addeventlistener/index.md Outdated Show resolved Hide resolved
js/element-addeventlistener/index.md Show resolved Hide resolved
js/element-addeventlistener/index.md Outdated Show resolved Hide resolved
@vitya-ne
Copy link
Contributor Author

@Inventoris исправил замечания

Copy link

Превью контента из 05907a3 опубликовано.

Copy link
Member

@Inventoris Inventoris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Супер (〃 ̄︶ ̄)人( ̄︶ ̄〃)

@TatianaFokina
Copy link
Member

@HellSquirrel, призовись!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
js Контент по JavaScript дока Справочный материал улучшение Доработка существующего
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants