Commit Graph
100 Commits
Author SHA1 Message Date
MattMo d6329bfc4c Updated documentation and added the ability to specify if properties should be reflected or not when using the properties function. 2025-10-19 14:46:57 -07:00
MattMo f1bff47ae7 Fixed a bug with the onClassChanged and the Disabled template code. 2025-07-20 15:44:59 -07:00
MattMo 93dde5893f Improved Disabled template function to make it work with more complex conditions. 2025-07-13 09:36:50 -07:00
MattMo 1733df832a Fixed a bug where the pager was not constructing elements in the right positions. 2025-06-22 20:09:37 -07:00
MattMo 80a0e81973 Cleaned up code and fixed a few bugs with the pagination code that was messing up with the order of elements when rendering. 2025-06-21 20:37:24 -07:00
MattMo cd4c5b43d7 Added an OnEscape helper function to capture when the escape key is pressed on an element quickly. 2025-05-27 18:24:00 -07:00
MattMo ed49ad1392 Changed element.data to nodeValue since that is the official property. 2024-11-20 07:50:29 -08:00
MattMo 812f8352f5 Fixed an issue where not all the results of the intersection observer were being checked. 2024-09-02 16:19:40 -07:00
MattMo 939d1ec83a Added a new after render function for elements. 2024-03-18 09:33:16 -07:00
MattMo 9040bb8d45 Added ability to use arrays of properties for the property function. 2023-12-24 15:21:43 -08:00
MattMo 82834320f6 Added ol template. 2023-12-24 09:51:36 -08:00
MattMo 4e0bb96747 Fixed an issue where the converter wasn't running on the first construct. 2023-12-11 16:58:18 -08:00
MattMo 23f8fa5b72 Moved option construction before setting element value. 2023-11-28 19:16:15 -08:00
MattMo 7f2b6465c2 Added new options function that can generate a set of options from an input and allow them to be converted. Modified the converter template to support an array of ignite properties as the input. The converter now supports the value converter returning an array of ignite templates. This allows for more complex conversions. 2023-11-10 12:10:17 -08:00
MattMo 2d41cb26a0 Fixed an issue where the source element wouldn't load the video when the src attribute is changed. 2023-11-07 09:25:51 -08:00
MattMo 3eadebec0c Fixed some major issues with list splice construction and other templates incorrectly constructing an element after a specified sibling. Improved documentation as well. 2023-11-07 08:25:54 -08:00
MattMo f1b1ae5c13 Added video template and source template. Added code so that if the src attribute is changed on a source element it automatically pauses the video and resets the position to 0. 2023-11-06 16:35:02 -08:00
MattMo def9a0c837 Added new type ahead feature, documented it and tested it. 2023-11-03 20:43:45 -07:00
MattMo 7c8ce52537 Updated more documentation. 2023-11-01 08:25:14 -07:00
MattMo ab7209f5bf Updated style docs to include the use of an array of ignite properties. 2023-11-01 08:12:13 -07:00
MattMo 7e1e2b96ff Fixed a minor bug where list splice wouldn't insert the item in the DOM at the correct position in the list. 2023-10-31 22:45:02 -07:00
MattMo a584eb68a7 Fixed a minor issue with attachOnDisconnect for the list template. 2023-10-17 15:32:22 -07:00
MattMo f4e314c7be Added iframe element template. 2023-10-11 18:01:33 -07:00
MattMo 645af63c30 Modified ignite template properties function to dynamically change properties. Fixed a few bugs as well. 2023-08-11 17:33:39 -07:00
MattMo d080d8e175 Cleaned up the converter template and fixed a bug. 2023-07-26 17:37:39 -07:00
MattMo f531a518b9 Added new converter template that can be used to convert a value into something that can be rendered. 2023-07-25 23:21:54 -07:00
MattMo 841d03d2c3 Added a special onDeconstruct template function that allows a function to be invoked when the element is being destroyed. 2023-07-24 08:51:54 -07:00
MattMo e4602b710d Fixed a bug where on a class change we didn't check to see if the element existed. 2023-07-23 22:05:00 -07:00
MattMo 63ed3a42f9 Fixed an issue where the text constructor wasn't handling the rendering state when call the converter. 2023-07-21 10:24:06 -07:00
MattMo 7905758894 Added a null and length check for pages before trying to modify their elements. 2023-07-17 12:33:46 -07:00
MattMo 08a526ad4a Merge remote-tracking branch 'origin/master' 2023-07-11 08:08:59 -07:00
MattMo aaa593e846 Removed old code that would try to force ignite properties to stay as the same value type as their previous value. This causes issues and the developer should be free to set properties to whatever value they want. 2023-07-11 08:08:23 -07:00
MattMo 8670aca627 Merge remote-tracking branch 'origin/master' 2023-07-08 09:48:09 -07:00
MattMo 1ea51c1451 Modified value function for ignite template to reflect even if the value isn't an ignite property. Cleaned up the code and simplified it. 2023-07-08 09:47:49 -07:00
MattMo 9a76dc2395 Fixed an issue with disabled function not running the converter on non ignite properties. Disabled function now allows arrays of properties to be used. 2023-06-16 11:21:48 -07:00
MattMo 557584aadd Added sup template. 2023-05-29 18:19:59 -07:00
MattMo f97511fe6e Pushing up new logo. 2023-05-05 08:33:40 -07:00
MattMo 9fa7f4b054 Added style support to pagination so you can apply styling to all elements under the pagination. 2023-04-29 10:38:49 -07:00
MattMo 4f215dd375 Rolled back change to IgniteObject. Added ability to use a function for the class name and simplified the code. 2023-04-27 10:54:01 -07:00
MattMo a171b3da4d Added value support for files, you can't set the value to a file, but you can set it to null to clear the current file and reflect to get the file value. Fixed html template deconstructing by making it remove the elements it created. 2023-04-25 06:46:34 -07:00
MattMo 83e53ed4c3 Improved ignite template deconstruct and construct functions. Simplified IgniteObject constructor. 2023-04-24 13:39:50 -07:00
MattMo 018179ec56 Tweaked doc. 2023-04-20 08:23:35 -07:00
MattMo fb99e9d240 Improved documentation further. 2023-04-20 08:22:43 -07:00
MattMo 0a6af3ad98 Improving documentation 2023-04-20 07:55:42 -07:00
MattMo 4f164766bb Updating to latest jsdoc 2023-04-20 07:33:44 -07:00
MattMo 9a84f9a07c Working on jsdoc readme 2023-04-20 06:59:47 -07:00
MattMo 5d3cf6e0a7 Added readme and remove gitignore. 2023-04-20 06:35:53 -07:00
MattMo 4203884aff Added more documentation. Fixed bugs with pagination to better support push, and slice. 2023-04-18 15:38:49 -07:00
MattMo 3383001c3a Added more documentation. Fixed a few bugs and improved the code. Added a new pager template that can construct a pager used for pagination. 2023-04-17 12:09:21 -07:00
MattMo 1ccd66910c Fixed a bug where getOldPropertyValues didn't check for the same instance of a property but rather their value. Added nav template. Fixed pagination so that the list can be null, though it's not ideal. 2023-04-15 08:27:11 -07:00
MattMo 485f8ae2bd Cleaned up code and improved documentation. Added new OnSeen event that fires the first time the element is seen and stops firing after that. 2023-02-05 19:04:08 -08:00
MattMo 7ba146443f Fixed a bug with lists where elements would be in the wrong order in the DOM. 2023-01-31 19:14:44 -08:00
MattMo edfac3782f Added readonly extension for input elements. 2022-12-14 07:33:04 -08:00
MattMo eb3ed065a2 Added code to select the first option in a select element if the new value is null or empty. 2022-12-12 21:10:55 -08:00
MattMo 84464863c7 Removed old list refresh code. 2022-10-28 08:06:50 -07:00
MattMo 58f1ceb512 Renamed variable. 2022-10-28 08:02:37 -07:00
MattMo 118e4367df Fixed a bug with IgniteProperty toString. Added more documentation. Ready callbacks now support regular functions or callbacks. 2022-10-24 08:39:41 -07:00
MattMo 73bf9812dd Added IgniteProperty create method to construct properties onto any object in the same way they are done for components. 2022-09-13 21:10:42 -07:00
MattMo fca9af5f73 Renamed IgniteRenderingContext to IgniteRendering. Added a new IgniteHtml class which contains function to register elements for rendering and a global render function to start the rendering process. Changed elements css style class name to be more meaningful. 2022-08-26 08:34:20 -07:00
MattMo 9af84da6a0 Improved the pull down refresh code and logic. 2022-06-30 09:19:27 -07:00
MattMo b981d8f7c1 InnerText now supports functions. 2022-06-21 22:24:26 -07:00
MattMo 6c9ecaf37a Attribute extension now allows functions to be used for the value for more dynamic code. 2022-06-14 10:38:13 -07:00
MattMo 3b497beb96 Improved pull to refresh on higher dpis. 2022-06-01 08:40:24 -07:00
MattMo 133b888764 Improving the feel of the swipe to refresh. 2022-06-01 07:58:55 -07:00
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