feat(aio): code blocks, copy bttn, a tag hover

This commit is contained in:
Stefanie Fluin
2017-03-27 15:37:11 -07:00
committed by Igor Minar
parent 5942b2b27c
commit 146b30796e
5 changed files with 38 additions and 12 deletions
+2 -1
View File
@@ -23,8 +23,9 @@ const copiedLabel = 'Copied!';
@Component({
selector: 'aio-code',
template: `
<button class="copy-button" #copyButton (click)="doCopy()">{{ buttonLabel }}</button>
<pre class="prettyprint lang-{{language}}">
<button class="material-icons copy-button" #copyButton (click)="doCopy()">content_copy</button>
<code class="animated fadeIn" #codeContainer></code>
</pre>
`