Wrapping helper properties into multiple lines
See original GitHub issueIt’s not included on emblemjs.com, so I’ve looked into the test specs, and I’ve found that it is possible to wrap properties into more lines with the use of brackets.
But it doesn’t seem to work properly with Ember helpers, for example with Ember.Select
Static attributes are good (class="something"
), however attribute bindings doesn’t seem to work either in the form of value=something
or valueBinding="something"
.
This is what I tried:
Ember.Select [
content=something
optionValuePath="content.value"
optionLabelPath="content.label"
value=somethingValue
class="something" ]
Issue Analytics
- State:
- Created 9 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
How do you stop Prettier in VS code splitting attributes onto ...
A quick fix is to go to Prettier Extension Settings (ctrl + shift + X) and in Prettier Extension Settings search for "Print...
Read more >Wrapping or Getting Multiline Text Input Interacting With List Box
I want the Text Input control to have the filled-in text wrap (be multi-line). There appears to be no property for that.
Read more >How to: Wrap All Long Lines in Code | CodeRush
Use the Right margin column size option with the “Wrap if long or multiline” option in the Editor | C# | Formatting |...
Read more >Line Breaks and Wrapping - ReSharper - JetBrains
Use this page to configure how ReSharper should add or remove line breaks before/after specific language constructs, and whether to wrap ...
Read more >overflow-wrap | CSS-Tricks
The overflow-wrap property in CSS allows you to specify that the browser can break a line of text inside the targeted element onto...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Converting:
To:
fails for me using ember-cli / emblem 0.5.0 and ember-cli-emblem-hbs-printer 0.2.1 with the following error:
I have tried various positions on the brackets as well as indenting, but I cannot seem to get this to compile. Am I doing something wrong? inline-edit-select is an ember component
How do i split normal html tag attributes into multiple lines?
How do i provide element/helper content when its attributes are split into multiple lines?