fix: don't need data-src, will bind on user

parent dbdb0982
Pipeline #10562 passed with stage
in 1 minute and 2 seconds
......@@ -16,17 +16,14 @@ export default class SolidNewsboard extends SolidTemplateElement {
static get propsDefinition() {
return {
dataSrc: "data-src",
uniq: "uniq"
};
}
template({
dataSrc,
uniq = Math.random().toString(16).slice(2)
}) {
/*
`dataSrc` => URL du container à consommer, fournit par l'application
`uniq` => Permet l'usage du composant plusieurs fois sur la même page, à utiliser pour distinguer les eventuels `id`
*/
return `
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment