Skip to content

Commit

Permalink
fix(doc): fix html5 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp authored and StrahilKazlachev committed Nov 7, 2018
1 parent aca7b41 commit 629ad1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions doc/article/en-US/dialog-basics.md
Expand Up @@ -175,7 +175,7 @@ There is also an `output` property that gets returned with the outcome of the us
<ux-dialog>
<ux-dialog-body>
<h2>Edit first name</h2>
<input value.bind="person.firstName" />
<input value.bind="person.firstName">
</ux-dialog-body>

<ux-dialog-footer>
Expand Down Expand Up @@ -233,7 +233,7 @@ The library exposes an `attach-focus` custom attribute that allows focusing in o
<ux-dialog>
<ux-dialog-body>
<h2>Edit first name</h2>
<input attach-focus value.bind="person.firstName" />
<input attach-focus value.bind="person.firstName">
</ux-dialog-body>
</ux-dialog>
</template>
Expand All @@ -244,8 +244,8 @@ You can also bind the value of the attach-focus attribute if you want to alter w

<code-listing heading="edit-person.html">
<source-code lang="ES 2015">
<input attach-focus.bind="isNewPerson" value.bind="person.email" />
<input attach-focus.bind="!isNewPerson" value.bind="person.firstName" />
<input attach-focus.bind="isNewPerson" value.bind="person.email">
<input attach-focus.bind="!isNewPerson" value.bind="person.firstName">
</source-code>
</code-listing>

Expand Down Expand Up @@ -385,7 +385,7 @@ The CSS classes for the dialog are hard-coded in `dialog-configuration.ts`. Whe
</source-code>
</code-listing>

If you want to override the default styles, configure the plugin instead by calling `useCSS('')` in `main.ts`.
If you want to override the default styles, configure the plugin instead by calling `useCSS('')` in `main.ts`.

<code-listing heading="main.js">
<source-code lang="ES 2015">
Expand Down
2 changes: 1 addition & 1 deletion test/unit/attach-focus.spec.ts
Expand Up @@ -17,7 +17,7 @@ describe('attach-focus', () => {
function setupView(component: ComponentTester, attachFocusFragment: string): void {
component.inView(`
<div>
<input ${attachFocusFragment} ref="focusTargetElement" />
<input ${attachFocusFragment} ref="focusTargetElement">
</div>
`);
}
Expand Down

0 comments on commit 629ad1c

Please sign in to comment.