aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/animationevent
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/api/animationevent')
-rw-r--r--files/ko/web/api/animationevent/animationevent/index.html76
-rw-r--r--files/ko/web/api/animationevent/animationname/index.html53
-rw-r--r--files/ko/web/api/animationevent/index.html78
3 files changed, 207 insertions, 0 deletions
diff --git a/files/ko/web/api/animationevent/animationevent/index.html b/files/ko/web/api/animationevent/animationevent/index.html
new file mode 100644
index 0000000000..4647191202
--- /dev/null
+++ b/files/ko/web/api/animationevent/animationevent/index.html
@@ -0,0 +1,76 @@
+---
+title: AnimationEvent()
+slug: Web/API/AnimationEvent/AnimationEvent
+tags:
+ - API
+ - CSSOM
+ - Constructor
+ - Experimental
+ - Reference
+ - Web Animations
+translation_of: Web/API/AnimationEvent/AnimationEvent
+---
+<div>{{APIRef("Web Animations")}}{{SeeCompatTable}}</div>
+
+<p><code><strong>AnimationEvent()</strong></code> 생성자는 애니메이션 이벤트인 {{domxref("AnimationEvent")}} 객체를 새로 만들어 리턴합니다. </p>
+
+<h2 id="문법">문법</h2>
+
+<pre class="syntaxbox"><em>animationEvent</em> = new AnimationEvent(<em>type</em>, {animationName: <em>aPropertyName</em>,
+ elapsedTime : <em>aFloat</em>,
+ pseudoElement: <em>aPseudoElementName</em>});
+</pre>
+
+<h3 id="매개_변수">매개 변수</h3>
+
+<p id="AnimationEvent()_생성자는_인자를_domxref(Event.Event_Event())_객체로부터_상속받습니다."><em><code>AnimationEvent()</code> 생성자는 인자를 {{domxref("Event.Event", "Event()")}} 객체로부터 상속받습니다. </em></p>
+
+<dl>
+ <dt><font face="Consolas, Liberation Mono, Courier, monospace">type</font></dt>
+ <dd>{{domxref("DOMString")}}는 <code>AnimationEvent </code>타입의 이름을 나타냅니다. 대소문자를 구별하며, <code>'animationstart'</code>, <code>'animationend'</code>, 또는 <code>'animationiteration'</code> 와 같이 쓸 수 있습니다.</dd>
+ <dt><code>animationName</code> {{optional_inline}}</dt>
+ <dd>{{domxref("DOMString")}}는 {{cssxref("animation-name")}}의 변화와 관련된 CSS 프로퍼티 값을 포함합니다. 디폴트 값은 <code>"" 입니다</code>.</dd>
+ <dt><code>elapsedTime</code> {{optional_inline}}</dt>
+ <dd>
+ <p>float 타입 값이며 이벤트가 발생할 시, 애니메이션이 정지했던 시간을 제외하고 실제 실행되었던 시간을 초 단위로 받습니다. "<code>animationstart</code>" 이벤트의 경우, {{cssxref("animation-delay")}}의 네비게이트 값이 존재하지 않는다면 <font face="Consolas, Liberation Mono, Courier, monospace">elapsedTime은 </font>0.0<font face="Consolas, Liberation Mono, Courier, monospace">이고, 네비게이트 값이 존재한다면 elapsedTime이 (-1 * delay)값이 되고 이벤트가 발생하게 됩니다. </font>디폴트 값은 0.0입니다.</p>
+ </dd>
+ <dt><code>pseudoElement</code> {{optional_inline}}</dt>
+ <dd><code>"::"로 시작하는 </code>{{domxref("DOMString")}} 이고, 애니메이션이 실행되는 <a href="/en-US/docs/Web/CSS/Pseudo-elements" title="Learn more about pseudo-elements.">pseudo-element</a>의 이름을  포함합니다. 애니메이션이 pseudo-element에서 실행되지 않고, 원소 자체에서 실행된다면 빈 스트링 : <code>""</code>을 명시하십시오. 디폴트 값은 <code>"" 입니다</code>.</dd>
+</dl>
+
+<h3 id="리턴_값">리턴 값</h3>
+
+<p>주어진 옵션에 의해 초기화된 {{domxref("AnimationEvent")}}</p>
+
+<h2 id="상세">상세</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{ SpecName('CSS3 Animations', '#AnimationEvent-interface', 'AnimationEvent()') }}</td>
+ <td>{{ Spec2('CSS3 Animations')}}</td>
+ <td>초기 정의</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="브라우저_호환성">브라우저 호환성</h2>
+
+<div id="compat-mobile">
+<p>{{Compat("api.AnimationEvent.AnimationEvent")}}</p>
+</div>
+
+<h2 id="함께_보기">함께 보기</h2>
+
+<ul>
+ <li><a href="/en-US/docs/CSS/Using_CSS_animations">Using CSS animations</a></li>
+ <li>Animation-related CSS properties and at-rules: {{cssxref("animation")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-name")}}, {{cssxref("animation-play-state")}}, {{cssxref("animation-timing-function")}}, {{cssxref("@keyframes")}}</li>
+ <li>The {{domxref("AnimationEvent")}} interface it belongs to.</li>
+</ul>
diff --git a/files/ko/web/api/animationevent/animationname/index.html b/files/ko/web/api/animationevent/animationname/index.html
new file mode 100644
index 0000000000..8d63e43708
--- /dev/null
+++ b/files/ko/web/api/animationevent/animationname/index.html
@@ -0,0 +1,53 @@
+---
+title: AnimationEvent.animationName
+slug: Web/API/AnimationEvent/animationName
+tags:
+ - API
+ - AnimationEvent
+ - CSSOM
+ - 레퍼런스
+ - 실험중
+ - 웹 애니메이션
+ - 프로퍼티
+translation_of: Web/API/AnimationEvent/animationName
+---
+<p>{{SeeCompatTable}}{{ apiref("Web Animations API") }}</p>
+
+<p>읽기 전용 프로퍼티인 <code><strong>AnimationEvent.animationName</strong></code>는 변화(transition)과 관련된 CSS 프로퍼티 {{cssxref("animation-name")}}의 값을 포함하는 {{domxref("DOMString")}}입니다.</p>
+
+<h2 id="문법">문법</h2>
+
+<pre class="syntaxbox"><em>name</em> = <em>AnimationEvent</em>.animationName</pre>
+
+<h2 id="명세서">명세서</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{ SpecName('CSS3 Animations', '#AnimationEvent-animationName', 'AnimationEvent.animationName') }}</td>
+ <td>{{ Spec2('CSS3 Animations')}}</td>
+ <td>초기 정의.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="브라우저_호환성">브라우저 호환성</h2>
+
+
+
+<p>{{Compat("api.AnimationEvent.animationName")}}</p>
+
+<h2 id="함께_보기">함께 보기</h2>
+
+<ul>
+ <li><a href="https://developer.mozilla.org/en-US/docs/CSS/Using_CSS_animations">Using CSS animations</a></li>
+ <li>Animation-related CSS properties and at-rules: {{cssxref("animation")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-name")}}, {{cssxref("animation-play-state")}}, {{cssxref("animation-timing-function")}}, {{cssxref("@keyframes")}}.</li>
+ <li>The {{domxref("AnimationEvent")}} interface it belongs to.</li>
+</ul>
diff --git a/files/ko/web/api/animationevent/index.html b/files/ko/web/api/animationevent/index.html
new file mode 100644
index 0000000000..757e9a911e
--- /dev/null
+++ b/files/ko/web/api/animationevent/index.html
@@ -0,0 +1,78 @@
+---
+title: AnimationEvent
+slug: Web/API/AnimationEvent
+tags:
+ - API
+ - Experimental
+ - Interface
+ - Reference
+ - Web Animations
+translation_of: Web/API/AnimationEvent
+---
+<p>{{SeeCompatTable}}{{APIRef("Event")}}</p>
+
+<p><strong><code>AnimationEvent</code></strong> 인터페이스는 <a href="/ko/docs/Web/CSS/CSS_Animations/Using_CSS_animations">에니메이션</a>과 관련된 정보를 제공하는 이벤트를 나타냅니다.</p>
+
+<p>{{InheritanceDiagram}}</p>
+
+<h2 id="생성자">생성자</h2>
+
+<dl>
+ <dt>{{domxref("AnimationEvent.AnimationEvent", "AnimationEvent()")}}</dt>
+ <dd>주어진 매개변수로 <code>AnimationEvent</code>를 생성합니다.</dd>
+</dl>
+
+<h2 id="속성">속성</h2>
+
+<p><em>{{domxref("Event")}}의 속성을 상속합니다.</em></p>
+
+<dl>
+ <dt>{{domxref("AnimationEvent.animationName")}} {{readonlyInline}}</dt>
+ <dd>트랜지션과 관련된 {{cssxref("animation-name")}} CSS 속성의 값을 가진 {{domxref("DOMString")}}입니다.</dd>
+ <dt>{{domxref("AnimationEvent.elapsedTime")}} {{readonlyInline}}</dt>
+ <dd>애니메이션이 재생된 총 시간을 나타내는 실수입니다. 초 단위로, 애니메이션이 일시정지된 시간은 제외합니다. <code>animationstart</code> 이벤트의 <code>elapsedTime</code>은 <code>0.0</code>이지만, {{cssxref("animation-delay")}} 값이 음수였다면 대신 <code>(-1 * delay)</code>를 값으로 가집니다.</dd>
+ <dt>{{domxref("AnimationEvent.pseudoElement")}} {{readonlyInline}}</dt>
+ <dd>애니메이션이 재생 중인 <a href="/ko/docs/Web/CSS/Pseudo-elements">의사 요소</a>의 이름을 값으로 가진 {{domxref("DOMString")}}입니다. <code>'::'</code>으로 시작합니다. 애니메이션이 일반 요소에서 재생 중이라면 빈 문자열 <code>''</code>을 반환합니다.</dd>
+</dl>
+
+<dl>
+</dl>
+
+<h2 id="메서드">메서드</h2>
+
+<p><em>{{domxref("Event")}}</em>의 메서드를 상속합니다.</p>
+
+<dl>
+ <dt>{{domxref("AnimationEvent.initAnimationEvent()")}} {{non-standard_inline}}{{deprecated_inline}}</dt>
+ <dd>삭제 예정 메서드 {{domxref("Document.createEvent()", "Document.createEvent(\"AnimationEvent\")")}}를 사용해 <code>AnimationEvent</code>를 초기화합니다.</dd>
+</dl>
+
+<h2 id="명세">명세</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{ SpecName('CSS3 Animations', '#AnimationEvent-interface', 'AnimationEvent') }}</td>
+ <td>{{ Spec2('CSS3 Animations') }}</td>
+ <td>Initial definition.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="브라우저_호환성">브라우저 호환성</h2>
+
+<p>{{Compat("api.AnimationEvent")}}</p>
+
+<h2 id="같이_보기">같이 보기</h2>
+
+<ul>
+ <li><a href="/ko/docs/Web/CSS/CSS_Animations/Using_CSS_animations">CSS 애니메이션 사용하기</a></li>
+ <li>애니메이션 관련 CSS 속성과 @-규칙: {{cssxref("animation")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-name")}}, {{cssxref("animation-play-state")}}, {{cssxref("animation-timing-function")}}, {{cssxref("@keyframes")}}.</li>
+</ul>