gradio/js/form
Jody Zhou f5539c7618
Enhancement: Add focus event to textbox and number component (#5005)
* Add focus event to textbox and number component

* add changeset

* Combine Blurrable and Focusable into Focusable event

* Add focus and blur to Dropdown and Colorpicker components

* add focus to home page template

* Add Focus to doc

* Fix linting error

* fixes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-08-01 16:02:50 -04:00
..
src Enhancement: Add focus event to textbox and number component (#5005) 2023-08-01 16:02:50 -04:00
CHANGELOG.md chore: update versions (#4999) 2023-07-26 17:10:24 -04:00
package.json chore: update versions (#4999) 2023-07-26 17:10:24 -04:00
README.md

@gradio/button

<script>
	import { Button } from "@gradio/button";
</script>

<button type="primary|secondary" href="string" on:click="{e.detail === href}">
	content
</button>