diff --git a/source/guide/filters.md b/source/guide/filters.md index f15da2babf..12f1cc36b3 100644 --- a/source/guide/filters.md +++ b/source/guide/filters.md @@ -5,7 +5,7 @@ order: 4 ## Synopsis -A Vue.js filter is essentially a function that takes a value, processes it, and then returns the processed value. In the markup it is denoted by a single pipe (`|`) and can be followed by one or more arguments: +Vue.js 필터는 기본적으로 값을 받아, 처리하고, 처리된 값을 반환하는 함수입니다. 마크업에서는 단일 파이프 (`|`)로 표현되며, 한개 이상의 인자가 붙을 수 있습니다. ``` html @@ -13,19 +13,19 @@ A Vue.js filter is essentially a function that takes a value, processes it, and ## Examples -Filters must be placed at the end of a directive's value: +필터는 directive의 값의 끝에 붙어야 합니다. ``` html ``` -You can also use them inside mustache-style bindings: +mustache 스타일의 바인딩 안에서도 사용할 수 있습니다. ``` html {{message | uppercase}} ``` -Multiple filters can be chained together: +여러 필터를 체이닝하는 것도 가능합니다. ``` html {{message | lowercase | reverse}} @@ -33,7 +33,7 @@ Multiple filters can be chained together: ## Arguments -Some filters can take optional arguments. Arguments are separated by spaces: +어떤 필터는 선택적인 인자를 받을 수 있습니다. 인자는 공백에 의해 구별합니다. ``` html {{order | pluralize 'st' 'nd' 'rd' 'th'}} @@ -43,8 +43,9 @@ Some filters can take optional arguments. Arguments are separated by spaces: ``` -Plain string arguments need to be enclosed in quotes. Non-quoted arguments will be evaluated dynamically against the current data scope, and we will discuss them in more details later when we talk about custom filters. +일반 문자열 인자는 홀따옴표로 감쌀 필요가 있습니다. 감싸지 않은 인자는 현재 +데이터 스코프에서 동적으로 평가됩니다. 여기에 대한 더 자세한 이야기는 사용자정의 필터에서 다시 다루겠습니다. -For their specific use of the above examples see the [full list of built-in filters](/api/filters.html). +위의 예제에 사용된 필터들의 자세한 설명은 [full list of built-in filters](/api/filters.html)를 참조하세요. -Now that you know what directives and filters are, let's get our hands dirty and try to [display a list of items](/guide/list.html). \ No newline at end of file +이제 directives와 filters를 알았으니 어려운 일을 해보도록 합시다. [아이템의 목록을 표시](/guide/list.html)해 보세요.