Trigger waves effect on keyboard key press


Topic: Trigger waves effect on keyboard key press

Ungr pro asked 6 years ago

Hello. Is it currently possible to attach keyboard triggers on button to animate waves effect? I have submit button and want waves effect to trigger:
  1. when 'enter' key inside form is pressed
  2. when submit button is focused and 'space' key is pressed

Piotr Glejzer staff answered 6 years ago

Hi, May you show me an example of your code about this? I will try to figure out that. Have a nice day. Best, Piotr

Ungr pro answered 6 years ago

Hello, please have a look at https://mdbootstrap.com/snippets/jquery/ungr/56213 Also note you will be redirected on form submit by default behavior.
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.10
  • Device: PC
  • Browser: Chrome 69
  • OS: Win 10
  • Provided sample code: No
  • Provided link: No
Tags