Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit 08ad088

Browse files
committed
Fixed a code snippet.
1 parent 05fd59a commit 08ad088

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

ApiReference/ui/list-picker/HOW-TO.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ description: "Examples for using ListPicker"
77
Using a ListPicker requires the "ui/list-picker" module.
88
``` JavaScript
99
var listPickerModule = require("ui/list-picker");
10-
function _createListPicker() {
11-
<snippet module="ui/list-picker" title="ListPicker">
12-
## Creating a ListPicker
13-
``` JavaScript
14-
var listPicker = new listPickerModule.ListPicker();
15-
```
10+
```
11+
## Creating a ListPicker
12+
``` JavaScript
13+
var listPicker = new listPickerModule.ListPicker();
14+
```
1615
## Binding listPicker.items
1716
``` JavaScript
1817
listPicker.items = [1, 2, 3];

0 commit comments

Comments
 (0)