Remove default line break after using an Ember-component in templates ofember-cli project

117 views Asked by At

when i use a ember-component for example

{{blog-post title=title}}
  {{/blog-post}}
<h1> Welcome to my Blog </h1>

I donot want a line break between component and htlml tag.

1

There are 1 answers

0
Kevin On BEST ANSWER

I set the component class's tagName property to span. So:

{{blog-post title=title tagName="span"}}
  {{/blog-post}}
<h1> Welcome to my Blog </h1>