Template:EventProperties

This article is in need of a technical review.

<%
var s = [
    "Property",
    "Description",
    "type",          "The type of event.",
    "target",        "The event target (the topmost target in the DOM tree).",
    "currentTarget", "The node that had the event listener attached."
];
 
var el = env.locale;

switch(el) {
    case "ja":
        s = ["プロパティ", "説明", "型", "イベントの型", "target", "イベントの対象(DOM ツリー内の最上位の対象)", "currentTarget", "イベントリスナーと紐付けられているノード"];
        break;
    default:
        break;
}
 
 
%><table class="standard-table">
    <thead>
        <tr>
            <td class="header"><%-s[0]%></td>
            <td class="header"><%-s[1]%></td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><%-s[2]%></td>
            <td><%-s[3]%></td>
        </tr>
        <tr>
            <td><%-s[4]%></td>
            <td><%-s[5]%></td>
        </tr>
        <tr>
            <td><%-s[6]%></td>
            <td><%-s[7]%></td>
        </tr>
    </tbody>
</table>
Search for pages that use Template:EventProperties to see example use cases and how many pages use this macro.

Document Tags and Contributors

Last updated by: teoli,