Document node 'button' property
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 45/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- javascript
研究方向
未指定文件或測試。找出現有的 Node-RED 節點屬性文件,並檢視類似按鈕選項的描述方式。記錄 toggle、enabled 和 onclick,包括它們的限制與行為;完成的標準是涵蓋這三個屬性,以及所指出的不相容性和回呼行為。
由索引模型根據 Issue 內容生成。
描述
button: {
toggle: "active",
enabled: function() {
return !this.changed
},
onclick: function() { }
}
Notes:
toggleidentifies this should be a toggle switch (as used by Debug node). Value is a string that identifies the node property whose value should be toggled betweentrueandfalse.enabledis a function that can be used to determine if the button is active or not - cannot be used withtoggle- new for 0.17.onclickis a function that is called when the button is clicked. This function is called regardless of what theenabledfunction may have returned; in other words, even ifenabledreturnedfalse, this function will still be called when the button is clicked. This allows the node to display a custom notification to tell the user why the button is not enabled.
- 主要語言
- JavaScript
- 星號
- 118
- 分支
- 161
- 平均合併
- 6 小時 39 分鐘
- 30 天內合併 PR
- 5
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
node-red/node-red.github.io 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 68/100
node-red/node-red.github.io#327 ·
-
難度 1/5 1 小時以內 新手友好度 62/100
node-red/node-red.github.io#280 · 1 則留言 ·
-
Website updates for Node-RED 5.0可能重新可做 @knolleary 於 133 天前認領,目前沒有進行中的 PR。 未關閉
node-red/node-red.github.io#416 · 1 個 reaction · 已指派 1 人 ·
-
難度 1/5 1-3 小時 新手友好度 50/100
node-red/node-red.github.io#384 ·
-
Update TypedInput docs for node type filter可能重新可做 @knolleary 於 483 天前認領,目前沒有進行中的 PR。 未關閉
node-red/node-red.github.io#382 · 1 則留言 · 已指派 1 人 ·
查看 node-red/node-red.github.io 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 3 天內回覆
-
Add: Atlas TV未關閉channels:add check:passed
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 4 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 82/100
jaegertracing/jaeger-ui#4547 · 3 則留言 ·
維護者通常 1 天內回覆
-
feedback simulation workshop
難度 2/5 1-3 小時 新手友好度 75/100
githubnext/gh-aw-workshop#4090 ·
維護者通常 1 天內回覆
-
bug deck: add to staging level: missing p-feature: Manage Submissions p-feature: Submissions and process priority: MUST HAVE ready for dev lead role: missing size: missing time sensitive
難度 2/5 1-3 小時 新手友好度 67/100
hackforla/tdm-calculator#3581 ·
維護者通常 2 天內回覆