PHP code example of inviqa / mx-widgetcomponent
1. Go to this page and download the library: Download inviqa/mx-widgetcomponent library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
inviqa / mx-widgetcomponent example snippets
xml
<parameter name="my_param" xsi:type="block" visible="true" ="MX\WidgetComponent\Block\Adminhtml\Component\Checkbox">
<!-- Optional configuration parameters -->
<data>
<item name="value" xsi:type="string">checkbox_value</item>
</data>
<!-- Optional configuration parameters -->
</block>
</parameter>