Commit Graph

83 Commits

Author SHA1 Message Date
MattMo 3bf10153d4 Updated docs. Added live option to value, if true value changes are reflected as they happen. Added onInput event handler helper. 2021-12-30 18:47:55 -08:00
MattMo b87ea24fe6 Added more documentation to IgniteElement. Fixed ref function on IgniteTemplates accepting non function parameters. 2021-12-28 22:32:19 -08:00
MattMo 645b0520b0 Added prop shortcut to property. 2021-12-16 11:53:19 -08:00
MattMo 1fc825d990 Added async ability to ignite callback and async to ready to help UI not freeze up. 2021-12-06 09:32:31 -08:00
MattMo 02b7824ce0 Updated docs for innerText. 2021-11-27 14:50:09 -08:00
MattMo 644241b486 Added min, max, step helper attribute functions. 2021-11-24 23:23:10 -08:00
MattMo ca957f1703 Style template now uses all available callbacks. 2021-11-09 21:11:41 -08:00
MattMo f46e4e181c On list change list templates now reset themselves so any scroll positions get reset as well. 2021-10-27 11:26:19 -07:00
MattMo ba3f7e8095 Placeholder can now be used on regular elements to trigger a placeholder class to be added. List forEach now passes the list count with better documentation. 2021-10-26 00:14:30 -07:00
MattMo af0348c861 Cleaned up onAttributeChanged and attributes can now use arrays like styles. 2021-10-13 07:46:40 -07:00
MattMo 59bb836bac Added innerText and Text template to help secure apps from code injection or other bad behavior. 2021-10-06 08:08:02 -07:00
MattMo 31503e62d1 Added target attribute support. Ignite Object now supports setProperties. Added null check for props. Fixed some documentation wording. 2021-09-22 09:43:18 -07:00
MattMo 46ff7743a1 Adding more documentation to make it easier when writing extensions. 2021-08-24 23:59:38 -07:00
MattMo 2d99f31bd4 Added invisible and visible functions to ignite templates. 2021-08-18 10:16:58 -07:00
MattMo 1bc054903c Added null check to props. 2021-08-11 10:46:44 -07:00
MattMo b353045019 Added a set properties function to IgniteElement to help populate an element's events quickly. 2021-08-11 10:46:00 -07:00
MattMo b4545c9dc5 Added footer and header templates. 2021-08-04 10:03:20 -07:00
MattMo 38e8b884a7 Added small element template. 2021-07-28 08:38:33 -07:00
MattMo a013bad19a List template now passes index of item to ForEach. 2021-07-21 09:36:55 -07:00
MattMo 0ae84fc73b InnerHtml now allows property arrays to be used. 2021-06-30 08:48:24 -07:00
MattMo 8259fdb9ab Adding doc comment 2021-06-10 00:01:35 -07:00
MattMo d6142ea250 Added IgniteObject to support full end to end properties. 2021-05-25 22:27:23 -07:00
MattMo 67b4bd60a0 Removing timeout from keyup, causing issues with value. 2021-05-11 22:32:46 -07:00
MattMo 1dae4ecece Value onKeyUp now gets reset if the value changed before the keyup event fired. 2021-05-05 03:09:13 -07:00
MattMo ad435e7098 Setting intersect observer to detect visibility and added delay. 2021-05-04 22:15:31 -07:00
MattMo 8b5a4b91ae Merge branch 'HEAD' 2021-05-04 14:14:33 -07:00
MattMo f290bc9c46 Added multiple resize observer support. Added intersect observer with multiple support. Added 3rd party constructors support. Added 3rd party destructors support. Added delay to keyup on value change. 2021-05-04 14:13:08 -07:00
MattMo 1041f1b290 Cleaned up template value function and it now automatically converts element value to a number if the type was set to number. 2021-04-18 12:49:17 -07:00
MattMo d3ae384634 Added variable function to be able to add variables to an ignite template. 2021-03-28 23:23:58 -07:00
MattMo f49aad478c Added Variables to ignite element. Added ability to create an IgniteProperty with a set of optional callbacks to create advanced components. 2021-03-28 20:34:35 -07:00
MattMo 92a5eb3384 Added list template reflect option which will remove items from the source list if the items element is removed from the DOM. Added Title template helper. Cleaned up some code as well. 2021-03-16 22:26:33 -07:00
MattMo 6986197339 Added new strong element to ignite template. 2021-03-10 08:56:14 -08:00
MattMo 653abb3aec Fixed a bug with newValue on the template. 2021-03-09 14:18:23 -08:00
MattMo 3eaf3b136a When passing a value to a template's element you can now use a function for the reflection. The value function now also supports radio checks. Cleaned up a few things as well. 2021-03-09 13:06:29 -08:00
MattMo e99d1e9051 Properties now change their value if an array is modified. Properties don't invoke any callbacks if the value hasn't actually changed. And a few other improvements. 2021-02-12 18:53:09 -08:00
MattMo 4bbdf4865d Modified InnerHTMLChanged to support array changes. 2021-02-03 10:15:04 -08:00
MattMo 2c9879a937 Added new disabled function that allows easy control of disabling the element a template constructs. 2021-02-03 10:00:26 -08:00
MattMo 815b6d99bf Class function now attaches to property array changes to allow the use of a converter with array based properties. 2021-01-10 23:09:50 -08:00
MattMo e398b61c08 Added uuid function to element class to easily allow generating uuid's. May move this later. Added reflect() option to reflect properties once changed via a function or another property. Added onResize function that adds a resize observer to the element constructed by a template and cleans it up nicely. Added onTouch event helper function. Modified reflect callback to allow calling functions or setting the value of a property. 2021-01-09 16:24:24 -08:00
MattMo e58e6e58e4 Added a template for line elements. 2021-01-08 02:22:29 -08:00
MattMo ea14328eb4 Added g and path elements to ignite template. 2021-01-06 23:42:55 -08:00
MattMo fb49e9ec35 Removed the on disconnected callback for elements since the only subscriber is the template and the template is already deconstructed by the element so there is no need to call it twice via the callback. 2021-01-06 08:51:24 -08:00
MattMo 5e276a0ddb Renamed connected to elementConnected in order to avoid property naming conflicts. 2021-01-05 21:09:12 -08:00
MattMo 9ca2f9e63d Added for & checked attribute template functions. Added form element template. 2021-01-05 10:29:14 -08:00
MattMo 9a12fbfc28 Simplifying ignite html repo and adding latest changes. 2020-12-09 20:41:11 -08:00
MattMo 00cd30eb54 Fixed a few bugs and added a init method to ignite elements that can be used to setup stuff before the element is created. 2020-11-09 09:38:00 -08:00
MattMo 3bee5614ab Ignite properties now try to keep the value as the same type as the original when a new value is set. Support for value() on contenteditable was added along with reflecting contenteditable values. 2020-10-26 15:30:11 -07:00
MattMo c172cb5599 Added pagination template and population template to help create pagination components. Allowed the use of non properties in property arrays for class, style ect. 2020-10-20 13:18:26 -07:00
MattMo 08f4f9006f Multiple bug fixes and improvements. Shift, Unshift, and Splice are now supported to do inline array modifications without losing the original array reference across elements. 2020-10-07 08:30:03 -07:00
MattMo b49a513831 Added multi property support classes and cleaned up some code. 2020-09-29 14:28:27 -07:00