Skip to content

Instantly share code, notes, and snippets.

View webda2l's full-sized avatar
🏠
Working from home

David ALLIX webda2l

🏠
Working from home
View GitHub Profile
@webda2l
webda2l / a2lix_lib.js
Last active June 19, 2024 22:26
Manage Symfony Form Collection with Vanilla JS (ES6) - See https://github.com/a2lix/Demo
'use strict'
const a2lix_lib = {}
a2lix_lib.sfCollection = (() => {
const init = (config = {}) => {
if (!('content' in document.createElement('template'))) {
console.error('HTML template will not working...')
return
}