Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BarRaider committed Mar 9, 2019
1 parent d4e3538 commit 2e14447
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,22 @@ There are three things needed for the library to work correctly (as demonstrated

3. Add an ***oninput="setSettings()"*** section to the control, to ensure settings are saved as soon as a user changes input.

## CheckBox
### CheckBox
To get data to and from checkboxes add an additional class named **sdCheckbox** _in addition_ to the sdProperty indicated above.

```
<input id="enterMode" type="checkbox" class="sdProperty sdCheckbox" oninput="setSettings()">
```

### FilePicker
To support filepickers, as recommended in the SDK follow the following guidelines:

```
<input class="sdProperty sdFile" type="file" id="userImage" oninput="setSettings()">
<label class="sdpi-file-info " for="userImage1" id="userImageFilename">No file...</label>
```

1. On the input class, add an additional class named **sdFile** _in addition_ to the sdProperty indicated above.
2. Add a label, as indicated above. Make sure the Id of the label has a ***Filename*** suffix (If the input is called userImage than the label is named userImageFilename)


0 comments on commit 2e14447

Please sign in to comment.