Skip to content

Commit

Permalink
docs(module:slider): change nzValue to ngModel
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendell committed Feb 28, 2019
1 parent 3c90e4b commit 55171eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/slider/demo/mark.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ title:

## zh-CN

使用 `nzMarks` 属性标注分段式滑块,使用 `nzValue` 指定滑块位置。当 `nzIncluded = false` 时,表明不同标记间为并列关系。当 `nzStep = null` 时,Slider 的可选值仅有 `nzMarks` 标出来的部分。
使用 `nzMarks` 属性标注分段式滑块,使用 `ngModel` 指定滑块位置。当 `nzIncluded = false` 时,表明不同标记间为并列关系。当 `nzStep = null` 时,Slider 的可选值仅有 `nzMarks` 标出来的部分。

## en-US

Using `nzMarks` property to mark a graduated slider, use `nzValue` to specify the position of thumb. When `nzIncluded` is false, means that different thumbs are coordinated. When `nzStep` is null, users can only slide the thumbs onto marks.
Using `nzMarks` property to mark a graduated slider, use `ngModel` to specify the position of thumb. When `nzIncluded` is false, means that different thumbs are coordinated. When `nzStep` is null, users can only slide the thumbs onto marks.


2 changes: 1 addition & 1 deletion components/slider/nz-slider-error.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function getValueTypeNotMatchError(): Error {
return new Error(`The "nzRange" can't match the "nzValue"'s type, please check these properties: "nzRange", "nzValue", "nzDefaultValue".`);
return new Error(`The "nzRange" can't match the "ngModel"'s type, please check these properties: "nzRange", "ngModel", "nzDefaultValue".`);
}

0 comments on commit 55171eb

Please sign in to comment.