Skip to content

Commit

Permalink
Extended listen and postRender methods to $append.
Browse files Browse the repository at this point in the history
  • Loading branch information
jclo committed Mar 26, 2024
1 parent 6a2f4b9 commit 5151668
Show file tree
Hide file tree
Showing 9 changed files with 701 additions and 739 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
###

### 1.2.2 (March 26, 2024)

* Extended listen and postRender methods to $append,
* ...,


### 1.2.1 (January 25, 2024)

* Updated the project with @mobilabs/es6kadoo v2.1 (Github Actions),
Expand Down
9 changes: 7 additions & 2 deletions _dist/lib/rview.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* at: http://www.opensource.org/licenses/mit-license.php).
* Built from ES6Kadoo v2.1.0.
* ************************************************************************** */
/*! Generated by Kadoo v1.2.0 */
/*! Generated by Kadoo v1.2.1 */
// ESLint declarations
/* global define */
/* eslint no-shadow: ['error', { 'allow': ['root'] }] */
/* eslint strict: ["error", "function"] */
(function(root, factory) {
'use strict';

/* istanbul ignore next */
/* c8 ignore start */
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([''], factory);
Expand All @@ -31,6 +31,7 @@
/* eslint-disable-next-line no-param-reassign */
root.RView = factory(root);
}
/* c8 ignore stop */
}(this, (root) => {
'use strict';

Expand Down Expand Up @@ -3227,6 +3228,8 @@
const keys = Object.keys(co._cList);
for (let i = 0; i < keys.length; i++) {
co._cList[keys[i]].events();
co._cList[keys[i]].listen();
co._cList[keys[i]].postRender();
_fireChildEvents(co._cList[keys[i]]);
}
}
Expand Down Expand Up @@ -3328,6 +3331,8 @@
// And finally, we have to run the 'events' method to attach the DOM
// events to this child component and its own childs if any.
c.events();
c.listen();
c.postRender();
_fireChildEvents(c);
}

Expand Down
4 changes: 2 additions & 2 deletions _dist/lib/rview.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _dist/lib/rview.min.mjs

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions _dist/lib/rview.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* at: http://www.opensource.org/licenses/mit-license.php).
* Built from ES6Kadoo v2.1.0.
* ************************************************************************** */
/*! Generated by Kadoo v1.2.0 */
/*! Generated by Kadoo v1.2.1 */
// ESLint declarations
/* global define */
/* eslint no-shadow: ['error', { 'allow': ['root'] }] */
Expand All @@ -17,7 +17,7 @@ const $__ES6GLOB = {};
(function(root, factory) {
'use strict';

/* istanbul ignore next */
/* c8 ignore start */
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([''], factory);
Expand All @@ -32,6 +32,7 @@ const $__ES6GLOB = {};
/* eslint-disable-next-line no-param-reassign */
root.RView = factory(root);
}
/* c8 ignore stop */
}($__ES6GLOB, (root) => {
'use strict';

Expand Down Expand Up @@ -3228,6 +3229,8 @@ const $__ES6GLOB = {};
const keys = Object.keys(co._cList);
for (let i = 0; i < keys.length; i++) {
co._cList[keys[i]].events();
co._cList[keys[i]].listen();
co._cList[keys[i]].postRender();
_fireChildEvents(co._cList[keys[i]]);
}
}
Expand Down Expand Up @@ -3329,6 +3332,8 @@ const $__ES6GLOB = {};
// And finally, we have to run the 'events' method to attach the DOM
// events to this child component and its own childs if any.
c.events();
c.listen();
c.postRender();
_fireChildEvents(c);
}

Expand Down
9 changes: 7 additions & 2 deletions lib/rview.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*! Generated by Kadoo v1.2.0 */
/*! Generated by Kadoo v1.2.1 */
// ESLint declarations
/* global define */
/* eslint no-shadow: ['error', { 'allow': ['root'] }] */
/* eslint strict: ["error", "function"] */
(function(root, factory) {
'use strict';

/* istanbul ignore next */
/* c8 ignore start */
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([''], factory);
Expand All @@ -21,6 +21,7 @@
/* eslint-disable-next-line no-param-reassign */
root.RView = factory(root);
}
/* c8 ignore stop */
}(this, (root) => {
'use strict';

Expand Down Expand Up @@ -3217,6 +3218,8 @@
const keys = Object.keys(co._cList);
for (let i = 0; i < keys.length; i++) {
co._cList[keys[i]].events();
co._cList[keys[i]].listen();
co._cList[keys[i]].postRender();
_fireChildEvents(co._cList[keys[i]]);
}
}
Expand Down Expand Up @@ -3318,6 +3321,8 @@
// And finally, we have to run the 'events' method to attach the DOM
// events to this child component and its own childs if any.
c.events();
c.listen();
c.postRender();
_fireChildEvents(c);
}

Expand Down
9 changes: 7 additions & 2 deletions lib/rview.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Generated by Kadoo v1.2.0 */
/*! Generated by Kadoo v1.2.1 */
// ESLint declarations
/* global define */
/* eslint no-shadow: ['error', { 'allow': ['root'] }] */
Expand All @@ -7,7 +7,7 @@ const $__ES6GLOB = {};
(function(root, factory) {
'use strict';

/* istanbul ignore next */
/* c8 ignore start */
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([''], factory);
Expand All @@ -22,6 +22,7 @@ const $__ES6GLOB = {};
/* eslint-disable-next-line no-param-reassign */
root.RView = factory(root);
}
/* c8 ignore stop */
}($__ES6GLOB, (root) => {
'use strict';

Expand Down Expand Up @@ -3218,6 +3219,8 @@ const $__ES6GLOB = {};
const keys = Object.keys(co._cList);
for (let i = 0; i < keys.length; i++) {
co._cList[keys[i]].events();
co._cList[keys[i]].listen();
co._cList[keys[i]].postRender();
_fireChildEvents(co._cList[keys[i]]);
}
}
Expand Down Expand Up @@ -3319,6 +3322,8 @@ const $__ES6GLOB = {};
// And finally, we have to run the 'events' method to attach the DOM
// events to this child component and its own childs if any.
c.events();
c.listen();
c.postRender();
_fireChildEvents(c);
}

Expand Down

0 comments on commit 5151668

Please sign in to comment.