8 Commits

Author SHA1 Message Date
057960db8a Added static css styling for templates via a styles property. 2020-08-11 13:45:54 -07:00
1d13c50711 Added dynamic styling to templates via a style function, with this properties can be used to create styles that automatically update. Or you can use static style values. 2020-08-11 12:53:57 -07:00
4e53913331 Dont store empty classes or events if they are null upon change. 2020-07-30 10:11:09 -07:00
68d301c16e Added events to templates so that we can use properties or functions and have them setup on the constructed element for us. 2020-07-30 08:32:44 -07:00
274e09a59b Moved properties over to a object model and added a resetProperties function that will reset properties to their default values. Fixed a few bugs and cleaned up the code a little more. 2020-07-29 11:21:02 -07:00
43962757f0 Added deconstruct functionality and cleanup code so that everything gets correctly cleaned up once a element is removed from the DOM. Added a new property template that allows properties to be used as content or html anywhere within a template's children. Next up is slot support. 2020-07-28 22:23:49 -07:00
1adb844c97 Added ref functionality to get a ref from any template once it's created. Next up is property callback cleanup and disconnection upon element being removed. 2020-07-28 09:50:26 -07:00
b591a42370 Cleaned up code, added support for lists, classes, attributes, and more. Added more test code, everything appears to be working. More cleanup and testing is needed. 2020-07-28 09:04:04 -07:00