Each rule service facade operation creates an instance of the TriggerPoint class and invokes the trigger function on that class with the reference to invoker, input parameters, and the rule name.
每种规则服务facade操作都创建了triggerpoint类的实例并通过使用对于调用的引用、输入参数及规则名称来调用该类的trigger函数。
But there's a slight twist: the onclick property wants to be fed a function reference — not the string name of a function, but a reference to the function itself.
但是有点细微的地方:onclick属性需要提供函数引用——不是函数的字符串名称,而是函数本身的引用。
But there's a slight twist: the onclick property wants to be fed a function reference — not the string name of a function, but a reference to the function itself.
但是有点细微的地方:onclick属性需要提供函数引用——不是函数的字符串名称,而是函数本身的引用。
应用推荐