Commit Graph
11 Commits
Author SHA1 Message Date
MattMo f4ac568976 Cleaned up code and fixed an issue with the gulp file where dev was still minifying js. Added reflected properties support and fixed a few other issues. 2020-08-23 11:50:31 -07:00
MattMo 56530fc966 Ignite properties now patch lists to capture push/pop events so that when used in a list template the whole list doesn't have to be rerendered. Also cleaned up some code and moved things around. 2020-08-22 16:15:45 -07:00
MattMo 138513ce2b Added onClick and onEvent shorthand event handlers to reduce duplicate code. 2020-08-21 22:13:06 -07:00
MattMo 057960db8a Added static css styling for templates via a styles property. 2020-08-11 13:45:54 -07:00
MattMo 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
MattMo 4e53913331 Dont store empty classes or events if they are null upon change. 2020-07-30 10:11:09 -07:00
MattMo 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
MattMo 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
MattMo 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
MattMo 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
MattMo 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