ajout métadonnées membres

This commit is contained in:
2021-06-14 22:30:52 +02:00
parent 41617295c1
commit f827e50431
9 changed files with 270 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
import { ShowHide } from 'ShowHide/show_hide.js';
let
k = document.getElementById('waitingForBirthContainer'),
waitingForBirthDate = document.getElementById('waitingForBirthDateContainer')
;
console.log(k );
new ShowHide({
'container': [waitingForBirthDate],
'froms': [k ],
'event_name': 'input',
'debug': true,
'test': function(froms, event) {
for (let f of froms.values()) {
console.log(f);
for (let input of f.querySelectorAll('input').values()) {
return input.checked;
}
}
return false;
}
});