Skip to content

Commit adc5750

Browse files
committed
docs (#145): refactor intro section
1 parent 6a59d04 commit adc5750

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/guide/migration/custom-directives.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@ Here is a quick summary of what has changed:
99

1010
For more information, read on!
1111

12-
## Introduction
13-
14-
Abstractions can be incredibly powerful to development, but they tend to break down when there is no escape hatch or extension beyond the original implementation. Custom directives allow us to create directives that are unique to our application.
15-
1612
## Previous Syntax
1713

18-
Previously, we constructed these directives by using the hooks listed below to target an element’s lifecycle, all of which are optional:
14+
In Vue 2, custom directives were created by using the hooks listed below to target an element’s lifecycle, all of which are optional:
1915

2016
- **bind** - Occurs once the directive is bound to the element. Occurs only once.
2117
- **inserted** - Occurs once the element is inserted into the parent DOM.

0 commit comments

Comments
 (0)