Skip to content

[200][10] 事件系统捕获阶段实现不完全 #28

@coder-xuwentao

Description

@coder-xuwentao

详细的勘误内容:
image
建议在 const paths = collectPaths(type, fiber); 下方插入类似如下代码:

  const pathsCapture = collectPaths(type + 'CAPTURE', fiber);
  triggerEventFlow(pathsCapture, type + "CAPTURE", se);

如此就能注册类似ONCLICKCAPTURE的事件回调了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions