In ember octane, is there a way to detect is not an empty string?
The has-block
function will return true
if we use an empty component like this <IntakeFormElement></IntakeFormElement>
while false
when <IntakeFormElement/>
.
How do I get both <IntakeFormElement></IntakeFormElement>
and <IntakeFormElement/>
return false?
Content:
No block
Ember Twiddle code:
Aucun commentaire:
Enregistrer un commentaire