Skip to content

Commit

Permalink
editable-svg-icons.md fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Sokolov committed Feb 8, 2020
1 parent 6995fae commit 73b61d3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/v2/cookbook/editable-svg-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default {

Хранение иконок в компонентах очень удобно, когда вы хотите их анимировать, особенно при взаимодействии. Встроенные SVG-иконки имеют самую высокую поддержку для какого-либо взаимодействия. Ниже очень простой пример иконки, которая анимируется при клике:

```html
```vue
<template>
<svg
@click="startScissors"
Expand All @@ -118,15 +118,18 @@ export default {
height="100"
aria-labelledby="scissors"
role="presentation"
>
>
<title
id="scissors"
lang="en"
>Анимированная иконка с ножницами</title>
>
Анимированная иконка с ножницами
</title>
<path
id="bk"
fill="#fff"
d="M0 0h100v100H0z"/>
d="M0 0h100v100H0z"
/>
<g ref="leftscissor">
<path d="M..."/>
...
Expand Down

0 comments on commit 73b61d3

Please sign in to comment.