Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 918 Bytes

readme.md

File metadata and controls

12 lines (8 loc) · 918 Bytes

HTMX plugin for Pinegrow

This plugin simplifies using the HTMX library in the Pinegrow Web Editor by adding all of the attributes as clickable actions. From the HTMX.org docs - "HTMX is a library that allows you to access modern browser features directly from HTML, rather than using javascript."

Installation & Usage

To use this plugin, open a project and page in the Pinegrow Web Editor. Navigate to File -> Manage libraries & plugins and scroll to the bottom of the modal. Click on "Load plugin", select the 'pg-htmx.js' file, and click "add".

From the Page menu there will now be an option to add the HTMX library script to the page.

After selecting an element on the page you can open the Actions panel for a list of HTMX attributes to be added. That is it!

Feedback

I would love to get any and all feedback on ways this could be improved. Thanks! 👋