Allow to define the range input step
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
调研方向
首先定位 issue 中描述的 image-compare 组件和 shadow-root 范围输入框。检查自定义 step 属性应如何配置该输入框,然后验证键盘移动,以及缺少 step 或 step 不大于 1 时的默认行为。
由索引模型根据 Issue 内容生成。
描述
We are currently adding it as a custom step attribute to the image-compare element:
<image-compare step="5" ...
And then activate it after page load using some code similar to this:
once('image_compare', 'image-compare', context).forEach(function (element) {
var range_input = element.shadowRoot.querySelector('input');
if (range_input && parseInt(element.getAttribute('step')) > 1) {
range_input.step = element.getAttribute('step');
}
});
Could improve keyboard use in some cases.
- 主要语言
- JavaScript
- 星标
- 144
- 派生
- 6
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 13
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudfour/image-compare 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
cloudfour/image-compare#73 · 5 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 35/100
cloudfour/image-compare#70 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 10/100
维护者通常 1 天内回复
查看 cloudfour/image-compare 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
ImranR98/apps.obtainium.imranr.dev#2000 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
-
难度 2/5 1-3 小时 新手友好度 83/100
microsoft/monaco-editor#5577 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
obsidianmd/obsidian-help#1169 ·
维护者通常 2 天内回复
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish step可能已有人在做 @albertteoh 今天认领。 未关闭documentation
难度 2/5 1-3 小时 新手友好度 85/100
jaegertracing/jaeger-ui#4739 ·
维护者通常 1 天内回复