Skip to content

Can the tree component provide a method getCheckedNodes() ?Β #3648

@hello-piper

Description

@hello-piper
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

Want to get half-selected tree node

If the node can be selected (show-checkbox is true), it returns the currently selected array of node's keys

(leafOnly) Accept a boolean type parameter whose default value is false. If the parameter is true, it only returns the currently selected array of sub-nodes.

What does the proposed API look like?

Can refer to https://element.eleme.cn/#/en-US/component/tree

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions