Toggle - need better Documentation to get a value of the toggle
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, jquery
调研方向
从现有的 Toggle 文档和 app.toggle.get('.toggle') 入口开始。添加一个清晰的 core jQuery 示例,说明如何确定 toggle 是开启还是关闭,然后验证该示例与文档记录的 API 一致,并且不依赖 React 或 Vue。
由索引模型根据 Issue 内容生成。
描述
Hi,
Thanks for the framework! Toggle is a pain in neck. There is no easy way to get toggle is on / off through jquery. it always return "on". Tried to change by checking if checked
var toggle = app.toggle.get('.toggle');
if (toggle.checked) {
// do something
}
it returns undefined with error in console. Give us a better example on core jquery not in react / vue.
- 主要语言
- JavaScript
- 星标
- 163
- 派生
- 429
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
framework7io/framework7-website 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 58/100
-
难度 3/5 1-2 天 新手友好度 25/100
-
难度 1/5 1 小时以内 新手友好度 45/100
-
难度 1/5 1-3 小时 新手友好度 58/100
查看 framework7io/framework7-website 的全部 Issue
相似的 Issue
-
correction via-web
难度 2/5 1-3 小时 新手友好度 67/100
ch-bas/cctv-camera-database#416 ·
维护者通常 1 天内回复
-
bug effort:medium model:light tests
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
documentation help wanted
难度 2/5 1-3 小时 新手友好度 72/100
piskyRpapalo/preceptoros-web#231 ·
维护者通常 1 天内回复
-
type/bug type/docs type/enhancement
难度 1/5 1 小时以内 新手友好度 86/100
Redo-San/RedoSan-Authenticity#574 ·
维护者通常 1 天内回复
-
Place search spins forever when nominatim fails可能已有人在做 @jgt87 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
anvaka/city-roads#213 ·