mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Update HTML Line-Wrapping examples
Replaces the examples in the HTML Line-Wrapping recommendation to include child elements.
This commit is contained in:
parent
2eb7e16647
commit
992ad03d50
|
@ -451,24 +451,27 @@ wrapping long lines if it significantly improves readability.</p>
|
|||
additional spaces from the original line to distinguish wrapped attributes from
|
||||
child elements.</p>
|
||||
|
||||
<pre><code class="language-html good"><md-progress-circular md-mode="indeterminate" class="md-accent"
|
||||
ng-show="ctrl.loading" md-diameter="35">
|
||||
</md-progress-circular>
|
||||
<pre><code class="language-html good"><button mat-icon-button color="primary" class="menu-button"
|
||||
(click)="openMenu()">
|
||||
<mat-icon>menu</mat-icon>
|
||||
</button>
|
||||
</code></pre>
|
||||
|
||||
<pre><code class="language-html good"><md-progress-circular
|
||||
md-mode="indeterminate"
|
||||
class="md-accent"
|
||||
ng-show="ctrl.loading"
|
||||
md-diameter="35">
|
||||
</md-progress-circular>
|
||||
<pre><code class="language-html good"><button
|
||||
mat-icon-button
|
||||
color="primary"
|
||||
class="menu-button"
|
||||
(click)="openMenu()">
|
||||
<mat-icon>menu</mat-icon>
|
||||
</button>
|
||||
</code></pre>
|
||||
|
||||
<pre><code class="language-html good"><md-progress-circular md-mode="indeterminate"
|
||||
class="md-accent"
|
||||
ng-show="ctrl.loading"
|
||||
md-diameter="35">
|
||||
</md-progress-circular>
|
||||
<pre><code class="language-html good"><button mat-icon-button
|
||||
color="primary"
|
||||
class="menu-button"
|
||||
(click)="openMenu()">
|
||||
<mat-icon>menu</mat-icon>
|
||||
</button>
|
||||
</code></pre>
|
||||
|
||||
<h4 id="HTML_Quotation_Marks" class="numbered">HTML Quotation Marks</h4>
|
||||
|
|
Loading…
Reference in New Issue
Block a user