mozilla

Compare Revisions

Template:EventProperties

Change Revisions

Revision 299665:

Revision 299665 by openjck on

Revision 344505:

Revision 344505 by ethertank on

Title:
Template:EventProperties
Template:EventProperties
Slug:
Template:EventProperties
Template:EventProperties
Content:

Revision 299665
Revision 344505
nn1<%
2var s = [
3    "Property",
4    "Description",
5    "type",          "The type of event.",
6    "target",        "The event target (the topmost target in the
 > DOM tree).",
7    "currentTarget", "The node that had the event listener attach
 >ed."
8];
9 
10var el = env.locale;
11 
12switch(el) {
13    case "ja":
14        s = ["プロパティ", "説明", "型", "イベントの型", "target", "イベントの対象(DOM
 > ツリー内の最上位の対象)", "currentTarget", "イベントリスナーと紐付けられているノード"];
15        break;
16    default:
17        break;
18}
19 
20 
21%>
nn29      <thead>
30        <tr>
31          <td class="header">
32            <%-s[0]%>
33          </td>
34          <td class="header">
35            <%-s[1]%>
36          </td>
37        </tr>
38      </thead>
n10          <td class="header">n41          <td>
11            Property42            <%-s[2]%>
n13          <td class="header">n44          <td>
14            Description45            <%-s[3]%>
n19            typen50            <%-s[4]%>
n22            The type of event.n53            <%-s[5]%>
n27            targetn58            <%-s[6]%>
t30            The event target (the topmost target in the DOM tree)t61            <%-s[7]%>
>. 
31          </td>
32        </tr>
33        <tr>
34          <td>
35            currentTarget
36          </td>
37          <td>
38            The node that had the event listener attached.

Back to History