grid.on() 이 받는 이벤트 이름과 그 인자 형의 표. 이름을 적으면 인자 형이 정해져 따로 형을 달지 않아도 된다.
표에 없는 이름(직접 emit 하는 사용자 이벤트 등)도 그대로 쓸 수 있다 — 그때 인자 형은 정해지지 않는다.
The table of event names grid.on() accepts and their argument types. Naming the event fixes the argument type, so no manual annotation is needed.
Names not in the table (such as your own events raised with emit) still work; their argument type is simply not fixed.
grid.on()이 받는 이벤트 이름과 그 인자 형의 표. 이름을 적으면 인자 형이 정해져 따로 형을 달지 않아도 된다. 표에 없는 이름(직접emit하는 사용자 이벤트 등)도 그대로 쓸 수 있다 — 그때 인자 형은 정해지지 않는다.The table of event names
grid.on()accepts and their argument types. Naming the event fixes the argument type, so no manual annotation is needed. Names not in the table (such as your own events raised withemit) still work; their argument type is simply not fixed.grid.on()が受け取るイベント名とその引数の型の表。名前を書けば引数の型が決まるので、別に型を付けなくて済みます。 表にない名前(自分でemitする利用者イベントなど)もそのまま使えます — その場合、引数の型は決まりません。grid.on()接受的事件名及其参数类型的对照表。写出事件名即可确定参数类型,无需另外标注。 表中没有的名称(例如自己emit的用户事件)也可以照常使用 — 此时参数类型不固定。Example