What does ‘::’ (double colon) do in javascript for events?

前端 未结 6 1671
攒了一身酷
攒了一身酷 2020-12-07 01:33

I saw this code and I\'m scratching my head trying to decide how it works.



        
6条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 02:21

    I've been able to find an obscure reference in some scanned manual from Microsoft Office Infopath 2003. It appears to be a JScript syntax:

    a double colon is used as separator between the script ID and the event name

    My guess is that's not part (or no longer part) of Internet explorer's ECMAScript implementation but it belongs (or used to belong) to Microsoft Office's implementation.

提交回复
热议问题