@viamrobotics/prime-core
Advanced tools
Comparing version 0.0.32 to 0.0.33
@@ -6,5 +6,8 @@ /** | ||
* | ||
* Note: it's important that the usage be reactive such that the handler | ||
* will be updated if disabled's value changes. | ||
* | ||
* ```svelte | ||
* export let disabled = false; | ||
* const handleDisabled = preventHandler(disabled); | ||
* $: handleDisabled = preventHandler(disabled); | ||
* <control on:input on:input|capture={handleDisabled} /> | ||
@@ -22,5 +25,8 @@ * ``` | ||
* | ||
* Note: it's important that the usage be reactive such that the handler | ||
* will be updated if disabled's value changes. | ||
* | ||
* ```svelte | ||
* export let disabled = false; | ||
* const handleDisabled = preventDisabled(disabled); | ||
* $: handleDisabled = preventKeyboardHandler(disabled); | ||
* <control on:keydown on:keydown|capture={handleDisabled} /> | ||
@@ -27,0 +33,0 @@ * ``` |
@@ -6,5 +6,8 @@ /** | ||
* | ||
* Note: it's important that the usage be reactive such that the handler | ||
* will be updated if disabled's value changes. | ||
* | ||
* ```svelte | ||
* export let disabled = false; | ||
* const handleDisabled = preventHandler(disabled); | ||
* $: handleDisabled = preventHandler(disabled); | ||
* <control on:input on:input|capture={handleDisabled} /> | ||
@@ -27,5 +30,8 @@ * ``` | ||
* | ||
* Note: it's important that the usage be reactive such that the handler | ||
* will be updated if disabled's value changes. | ||
* | ||
* ```svelte | ||
* export let disabled = false; | ||
* const handleDisabled = preventDisabled(disabled); | ||
* $: handleDisabled = preventKeyboardHandler(disabled); | ||
* <control on:keydown on:keydown|capture={handleDisabled} /> | ||
@@ -32,0 +38,0 @@ * ``` |
{ | ||
"name": "@viamrobotics/prime-core", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139388
2095