Skip to content

获取 Sender textarea 的实例 #715

Open
@HomyeeKing

Description

@HomyeeKing

需求动机

有一些需要通过input/textarea api 操作的内容,目前 SenderRef 暴露了 nativeElement, 但是只是外层的container,
目前我们是推荐通过 senderRef.current?.nativeElement.querySelector('.${inputCls}')这种方式来获取吗

提议的 API 是什么样的?

senderRef.current?.inputElement.xxx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions