Download the PHP package element119/module-hyva-canvas without Composer
On this page you can find all versions of the php package element119/module-hyva-canvas. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download element119/module-hyva-canvas
More information about element119/module-hyva-canvas
Files in element119/module-hyva-canvas
Package module-hyva-canvas
Short Description A Magento 2 module that adds a HTML canvas component to Hyvä themes.
License OSL-3.0
Informations about the package module-hyva-canvas
element119 | Hyvä Canvas





📝 Features
✔️ Adds an AlpineJS-powered canvas component to Hyvä themes
✔️ Allows customers to draw, reset, and submit canvas data
✔️ Responsive design to suit mobile and desktop devices
✔️ Supports multiple canvas components per page
🔌 Installation
Run the following command to install this module:
⏫ Updating
Run the following command to update this module:
❌ Uninstallation
Run the following command to uninstall this module:
📚 User Guide
Adding the Canvas Component
To add the canvas component to a page, simply use layout XML to create a new block using the Element119_HyvaCanvas::canvas.phtml
template.
Obtaining the Canvas Value
A custom JavaScript event is fired whenever the user submits their canvas data.
This event name is customer-canvas-submitted
and the canvas data can be accessed via its detail
object: