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
feat(ShareSheet): add className option #6886
feat(ShareSheet): add className option #6886
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #6886 +/- ##
=======================================
Coverage 91.48% 91.48%
=======================================
Files 175 175
Lines 4720 4720
Branches 279 279
=======================================
Hits 4318 4318
Misses 368 368
Partials 34 34
Continue to review full report at Codecov.
|
wrapper.find('.van-share-sheet__option').element.className.indexOf('foo') > | ||
-1 | ||
); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const option = wrapper.find('.van-share-sheet__option').element;
expect(option.className.includes('foo')).toBeTruthy();
* feat: van-share-sheet支持设置分享选项的类名 * Update README.zh-CN.md * Update README.md * Update index.vue * fix: 添加一些van-share-sheet测试用例 * fix: change van-share-sheet test code Co-authored-by: neverland <416417567@163.com>
van-share-sheet支持设置分享选项的类名