logo

This plugin is for Joomla developers. The plugin registers Fabric.js package in Joomla Web Assets Manager. It allows you to use Fabric.js anywhere in Joomla 4: into modules, components, plugins.

To do this in your code, use

use Joomla\CMS\Factory;
$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->useScript('fabric-bundle');

Read more

© 2024 Extly, CB - All rights reserved.