Commit Graph

92 Commits

Author SHA1 Message Date
MattMo 61f8628f9d Made it so that custom elements for the refresh placeholder and prepended to the parent. 2022-05-25 08:20:48 -07:00
MattMo 9a8705b715 Fixed a bug where the list refresh was being activated when the scroll top wasn't 0. 2022-05-24 08:01:28 -07:00
MattMo b805dc4bca Added more documentation. Added new refresh mechanism to lists. 2022-05-23 09:12:23 -07:00
MattMo 6cc18174f1 Added role attribute helper. 2022-05-16 10:19:27 -07:00
MattMo fea4a2684d Fixed missing doc on onPaste. 2022-05-04 09:02:59 -07:00
MattMo 52bd743b45 Removed await from ready. 2022-04-04 22:54:33 -07:00
MattMo 5a1be0a368 Adding extra code to ensure more than one ready timer runs at a time. Exposed IgniteCallback to window. 2022-03-26 02:11:27 -07:00
MattMo e36ee1d42c Fixed a type in the visible function naming. 2022-03-06 22:57:29 -08:00
MattMo 2a22c3a89f Made placeholder respect textarea's. 2022-01-26 01:48:42 -08:00
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