Search results

Enable ripple in ASP.NET MVC ButtonGroup control

28 Jan 2022 / 1 minute to read

Ripple can be enabled by importing rippleEffect method from ej2-base and initialize rippleEffect with .e-btn-group element, and selector as e-btn.

The following example illustrates how to enable ripple for ButtonGroup.

Copied to clipboard
<div class='e-btn-group'>
var button = document.querySelector('.e-btn-group');
ej.base.rippleEffect(button, {selector: 'e-btn'});
Copied to clipboard
public ActionResult Index()
            return View();