Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望配置项支持手动指定 DOM 元素 #261

Open
beixiyo opened this issue Apr 11, 2024 · 1 comment
Open

希望配置项支持手动指定 DOM 元素 #261

beixiyo opened this issue Apr 11, 2024 · 1 comment

Comments

@beixiyo
Copy link

beixiyo commented Apr 11, 2024

主题 (希望配置项支持手动指定 DOM 元素)

场景

比如你用 vue、react,如果用仅仅只能用 id 来指定视频的话
我做成组件,我需要创建很多组件,那么每个组件,我都需要给个独一无二的 id
这显然是不现实的。让开发者,自行传入 DOM 元素不是更好吗?而且这个功能很简单,希望能加上

@chenyunfei7950
Copy link

组件里面随机一个id就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants