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

[ko] remove Event macro #12180

Merged
merged 2 commits into from
May 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions files/ko/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,7 @@
/ko/docs/Web/API/GlobalEventHandlers/onchange /ko/docs/Web/API/HTMLElement/change_event
/ko/docs/Web/API/GlobalEventHandlers/oncontextmenu /ko/docs/Web/API/Element/contextmenu_event
/ko/docs/Web/API/GlobalEventHandlers/ondblclick /ko/docs/Web/API/Element/dblclick_event
/ko/docs/Web/API/GlobalEventHandlers/onpointerenter /ko/docs/Web/API/Element/pointerenter_event
/ko/docs/Web/API/GlobalEventHandlers/onscroll /ko/docs/Web/API/Element/scroll_event
/ko/docs/Web/API/GlobalEventHandlers/onsubmit /ko/docs/Web/API/HTMLFormElement/submit_event
/ko/docs/Web/API/GlobalEventHandlers/ontouchstart /ko/docs/Web/API/Element/touchstart_event
/ko/docs/Web/API/HTMLHyperlinkElementUtils/href /ko/docs/Web/API/HTMLAnchorElement/href
/ko/docs/Web/API/HTML_드래그_앤_드롭_API /ko/docs/Web/API/HTML_Drag_and_Drop_API
/ko/docs/Web/API/HTML_드래그_앤_드롭_API/Drag_operations /ko/docs/Web/API/HTML_Drag_and_Drop_API/Drag_operations
Expand Down Expand Up @@ -649,7 +646,6 @@
/ko/docs/Web/Events/resize /ko/docs/Web/API/Window/resize_event
/ko/docs/Web/Events/scroll /ko/docs/Web/API/Document/scroll_event
/ko/docs/Web/Events/timeout /ko/docs/Web/API/XMLHttpRequest/timeout_event
/ko/docs/Web/Events/touchcancel /ko/docs/Web/API/Element/touchcancel_event
/ko/docs/Web/Events/visibilitychange /ko/docs/Web/API/Document/visibilitychange_event
/ko/docs/Web/Guide/API/Vibration/Vibration /ko/docs/Web/API/Vibration_API
/ko/docs/Web/Guide/CSS /ko/docs/Learn/CSS
Expand Down Expand Up @@ -795,7 +791,6 @@
/ko/docs/Web/Reference/Events/popstate /ko/docs/Web/API/Window/popstate_event
/ko/docs/Web/Reference/Events/resize /ko/docs/Web/API/Window/resize_event
/ko/docs/Web/Reference/Events/timeout /ko/docs/Web/API/XMLHttpRequest/timeout_event
/ko/docs/Web/Reference/Events/touchcancel /ko/docs/Web/API/Element/touchcancel_event
/ko/docs/Web/Reference/Events/visibilitychange /ko/docs/Web/API/Document/visibilitychange_event
/ko/docs/Web/SVG/Element/사각형 /ko/docs/Web/SVG/Element/rect
/ko/docs/Web/SVG/SVG_1.1_Support_in_Firefox /ko/docs/orphaned/Web/SVG/SVG_1.1_Support_in_Firefox
Expand Down
7 changes: 0 additions & 7 deletions files/ko/web/api/element/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,6 @@ _`Element` 인터페이스는 {{domxref("Slotable")}} 믹스인에 정의된 다
- {{domxref("Slotable.assignedSlot")}}{{readonlyInline}}
- : Returns a {{domxref("HTMLSlotElement")}} representing the {{htmlelement("slot")}} the node is inserted in.

### 이벤트 처리기

- {{domxref("Element.ongotpointercapture")}}
- : Returns the event handler for the {{event("gotpointercapture")}} event type.
- {{domxref("Element.onlostpointercapture")}}
- : Returns the event handler for the {{event("lostpointercapture")}} event type.

## 메서드

_부모 인터페이스인 {{domxref("Node")}}와 그 부모인 {{domxref("EventTarget")}}의 메서드를 상속합니다. {{domxref("ParentNode")}}, {{domxref("ChildNode")}}, {{domxref("NonDocumentTypeChildNode")}}와 {{domxref("Animatable")}}의 메서드를 구현합니다._
Expand Down
58 changes: 0 additions & 58 deletions files/ko/web/api/element/pointerenter_event/index.md

This file was deleted.

72 changes: 0 additions & 72 deletions files/ko/web/api/element/scroll_event/index.md

This file was deleted.

50 changes: 0 additions & 50 deletions files/ko/web/api/element/touchcancel_event/index.md

This file was deleted.

56 changes: 0 additions & 56 deletions files/ko/web/api/element/touchstart_event/index.md

This file was deleted.

4 changes: 2 additions & 2 deletions files/ko/web/api/event/cancelable/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: Web/API/Event/cancelable

이벤트가 취소 불가능한 경우, 해당 이벤트의 `cancelable` 속성은 `false`이며 수신기에서 이벤트의 발생을 멈출 수 없습니다.

취소 가능한 브라우저 내장 이벤트는 대부분 사용자가 페이지와 상호작용해서 발생하는 이벤트입니다. 예컨대 [`click`](/ko/docs/Web/API/Element/click_event), {{event("scroll")}}, {{event("beforeunload")}} 이벤트를 취소하게 되면, 각각 사용자가 어떤 요소를 클릭하는 것, 페이지를 스크롤하는 것, 페이지에서 나가는 것을 막게 됩니다.
취소 가능한 브라우저 내장 이벤트는 대부분 사용자가 페이지와 상호작용해서 발생하는 이벤트입니다. 예컨대 [`click`](/ko/docs/Web/API/Element/click_event), {{domxref("Document/wheel_event", "wheel")}}, {{domxref("Window/beforeunload_event", "beforeunload")}} 이벤트를 취소하게 되면, 각각 사용자가 어떤 요소를 클릭하는 것, 페이지를 스크롤하는 것, 페이지에서 나가는 것을 막게 됩니다.

사용자 JavaScript 코드에서 생성하는 [합성 이벤트](/ko/docs/Web/API/Event/Event)의 경우, 이벤트를 초기화할 때 취소 가능 여부를 지정할 수 있습니다.

Expand All @@ -23,7 +23,7 @@ slug: Web/API/Event/cancelable

## 예제

브라우저 제공자들은 {{event("wheel")}} 이벤트를 [최초 수신 시점에만 취소할 수 있도록](https://github.com/WICG/interventions/issues/33) 제안하고 있습니다. 즉, 두 번째 `wheel` 이벤트부터는 취소할 수 없습니다.
브라우저 제공자들은 {{domxref("Document/wheel_event", "wheel")}} 이벤트를 [최초 수신 시점에만 취소할 수 있도록](https://github.com/WICG/interventions/issues/33) 제안하고 있습니다. 즉, 두 번째 `wheel` 이벤트부터는 취소할 수 없습니다.

```js
function preventScrollWheel(event) {
Expand Down
2 changes: 1 addition & 1 deletion files/ko/web/api/event/preventdefault/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ document.querySelector("#id-checkbox").addEventListener("click", function(event)

#### JavaScript

이제 실제 작업을 수행할 JavaScript 코드입니다. 우선 {{event("keypress")}} 이벤트를 수신합니다.
이제 실제 작업을 수행할 JavaScript 코드입니다. 우선 {{domxref("Element/keypress_event", "keypress")}} 이벤트를 수신합니다.

```js
var myTextbox = document.getElementById('my-textbox');
Expand Down
Loading