Injected contents support

This commit is contained in:
Henri Bergius 2017-11-30 23:02:00 +01:00
parent b88721c7a0
commit e09b0394b8

View file

@ -65,6 +65,7 @@ class CurrentState extends Component {
} else {
el.style.backgroundColor = '#cc0000';
}
el.innerHTML = '<slot></slot>';
return el;
}
}