feat(aio): code blocks, copy bttn, a tag hover
This commit is contained in:
committed by
Igor Minar
parent
5942b2b27c
commit
146b30796e
@@ -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>
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user