![]() |
I think this would be really helpful to you: Components library for CI4. It allows to encapsulate html and css classes/styles into reusable website building blocks.
See it here: https://packagist.org/packages/dgvirtual...components It allows to write this in your view: PHP Code: <x-green-button onclick="alert('I was clicked!')"> PHP Code: <button Bonfire2 was written mainly by Lonnie Ezell (@kilishan), so most of the credit goes to him. Hope you will find it as useful as I have.
==
Donatas G. |
Messages In This Thread |
View Component - by SubrataJ - 10-22-2022, 04:51 AM
RE: View Component - by captain-sensible - 10-22-2022, 09:32 AM
RE: View Component - by kenjis - 10-22-2022, 06:56 PM
RE: View Component - by SubrataJ - 10-22-2022, 08:23 PM
RE: View Component - by kilishan - 10-24-2022, 06:52 AM
RE: View Component - by SubrataJ - 10-25-2022, 06:26 AM
RE: View Component - by dgvirtual - 01-06-2025, 11:03 AM
|