Commit
·
6494259
1
Parent(s):
d17bb81
Update toggle.jsonl
Browse files- toggle.jsonl +3 -3
toggle.jsonl
CHANGED
@@ -84,7 +84,7 @@
|
|
84 |
{"prompt": "Display a toggle button with a custom adapter function", "Markdown code": "<|{adapter_toggle}|toggle|adapter={custom_adapter}|>"}
|
85 |
{"prompt": "Show a toggle control with a specified type", "Markdown code": "<|{type_toggle}|toggle|type=dict|>"}
|
86 |
{"prompt": "Create a toggle button with value by ID", "Markdown code": "<|{value_by_id_toggle}|toggle|value_by_id=True|>"}
|
87 |
-
{"prompt": "Add a toggle control with an
|
88 |
{"prompt": "Insert a toggle button with automatic propagation", "Markdown code": "<|{propagate_toggle}|toggle|propagate=True|>"}
|
89 |
{"prompt": "Display a toggle control as an inactive component", "Markdown code": "<|{inactive_toggle}|toggle|active=False|>"}
|
90 |
{"prompt": "Show a toggle button with a custom ID", "Markdown code": "<|{custom_id_toggle}|toggle|id=custom-toggle|>"}
|
@@ -97,7 +97,7 @@
|
|
97 |
{"prompt": "Add a toggle control with a custom adapter function", "Markdown code": "<|{custom_adapter_toggle}|toggle|adapter={custom_adapter_function}|>"}
|
98 |
{"prompt": "Insert a toggle button with a specified type", "Markdown code": "<|{specified_type_toggle}|toggle|type=list|>"}
|
99 |
{"prompt": "Display a toggle control with value by ID", "Markdown code": "<|{value_by_id_toggle}|toggle|value_by_id=True|>"}
|
100 |
-
{"prompt": "Show a toggle button with an
|
101 |
{"prompt": "Create a toggle control with automatic propagation", "Markdown code": "<|{auto_propagate_toggle}|toggle|propagate=True|>"}
|
102 |
{"prompt": "Add a toggle button as an inactive component", "Markdown code": "<|{inactive_toggle_button}|toggle|active=False|>"}
|
103 |
{"prompt": "Insert a toggle control with a custom identifier", "Markdown code": "<|{custom_identifier_toggle}|toggle|id=custom-toggle|>"}
|
@@ -110,7 +110,7 @@
|
|
110 |
{"prompt": "Show a toggle button with a custom adapter function", "Markdown code": "<|{custom_adapter_button}|toggle|adapter={custom_adapter_function}|>"}
|
111 |
{"prompt": "Create a toggle control with a specified type", "Markdown code": "<|{specified_type_control}|toggle|type=list|>"}
|
112 |
{"prompt": "Add a toggle button with value by ID", "Markdown code": "<|{value_by_id_button}|toggle|value_by_id=True|>"}
|
113 |
-
{"prompt": "Insert a toggle control with an
|
114 |
{"prompt": "Display a toggle button with automatic propagation", "Markdown code": "<|{auto_propagate_button}|toggle|propagate=True|>"}
|
115 |
{"prompt": "Show a toggle control as an inactive component", "Markdown code": "<|{inactive_control}|toggle|active=False|>"}
|
116 |
{"prompt": "Create a toggle button with a custom ID", "Markdown code": "<|{custom_id_button}|toggle|id=custom-toggle|>"}
|
|
|
84 |
{"prompt": "Display a toggle button with a custom adapter function", "Markdown code": "<|{adapter_toggle}|toggle|adapter={custom_adapter}|>"}
|
85 |
{"prompt": "Show a toggle control with a specified type", "Markdown code": "<|{type_toggle}|toggle|type=dict|>"}
|
86 |
{"prompt": "Create a toggle button with value by ID", "Markdown code": "<|{value_by_id_toggle}|toggle|value_by_id=True|>"}
|
87 |
+
{"prompt": "Add a toggle control with an on_change callback", "Markdown code": "<|{on_change_toggle}|toggle|on_change=handle_toggle_change|>"}
|
88 |
{"prompt": "Insert a toggle button with automatic propagation", "Markdown code": "<|{propagate_toggle}|toggle|propagate=True|>"}
|
89 |
{"prompt": "Display a toggle control as an inactive component", "Markdown code": "<|{inactive_toggle}|toggle|active=False|>"}
|
90 |
{"prompt": "Show a toggle button with a custom ID", "Markdown code": "<|{custom_id_toggle}|toggle|id=custom-toggle|>"}
|
|
|
97 |
{"prompt": "Add a toggle control with a custom adapter function", "Markdown code": "<|{custom_adapter_toggle}|toggle|adapter={custom_adapter_function}|>"}
|
98 |
{"prompt": "Insert a toggle button with a specified type", "Markdown code": "<|{specified_type_toggle}|toggle|type=list|>"}
|
99 |
{"prompt": "Display a toggle control with value by ID", "Markdown code": "<|{value_by_id_toggle}|toggle|value_by_id=True|>"}
|
100 |
+
{"prompt": "Show a toggle button with an on_change callback", "Markdown code": "<|{on_change_callback_toggle}|toggle|on_change=toggle_changed|>"}
|
101 |
{"prompt": "Create a toggle control with automatic propagation", "Markdown code": "<|{auto_propagate_toggle}|toggle|propagate=True|>"}
|
102 |
{"prompt": "Add a toggle button as an inactive component", "Markdown code": "<|{inactive_toggle_button}|toggle|active=False|>"}
|
103 |
{"prompt": "Insert a toggle control with a custom identifier", "Markdown code": "<|{custom_identifier_toggle}|toggle|id=custom-toggle|>"}
|
|
|
110 |
{"prompt": "Show a toggle button with a custom adapter function", "Markdown code": "<|{custom_adapter_button}|toggle|adapter={custom_adapter_function}|>"}
|
111 |
{"prompt": "Create a toggle control with a specified type", "Markdown code": "<|{specified_type_control}|toggle|type=list|>"}
|
112 |
{"prompt": "Add a toggle button with value by ID", "Markdown code": "<|{value_by_id_button}|toggle|value_by_id=True|>"}
|
113 |
+
{"prompt": "Insert a toggle control with an on_change callback", "Markdown code": "<|{on_change_callback_control}|toggle|on_change=toggle_changed|>"}
|
114 |
{"prompt": "Display a toggle button with automatic propagation", "Markdown code": "<|{auto_propagate_button}|toggle|propagate=True|>"}
|
115 |
{"prompt": "Show a toggle control as an inactive component", "Markdown code": "<|{inactive_control}|toggle|active=False|>"}
|
116 |
{"prompt": "Create a toggle button with a custom ID", "Markdown code": "<|{custom_id_button}|toggle|id=custom-toggle|>"}
|