Lists display data sets and need to be bound to a particular type of data in WinJS. Stacey will show you how to bind data to the list in the form of a binding list ,which triggers events when the original data source has been modified. Learn about one way binding and how your UI can automatically update when the data source it is bound to changes.
- [Voiceover] We've created a list control,…and we have the template defined for…what that list control is going to use to…render out each item, but we haven't…done the data yet, and so we need to…set data to the list so it knows what to render.…We're gonna start binding data to the list,…and binding in WinJS is one way only.…Binding allows for the user interface to…be automatically updated when the data it is…bound to has changed.…This is one way binding, so if you…go into the UI and try to make a change to…reflect that data that it's bound to,…it's not going to round trip and make…those changes the second direction.…
So it's only from the data to the UI.…You can specify a binding on an element…by using the data-win-bind attribute,…which we've done for the template.…For lists, we can use binding-list.…Binding-list will trigger events that will…cause the UI to update when it's modified…in some way, whether someone has maybe…added something or removed something,…it will notify and update that UI.…We're gonna need to work out of the…
Watch to gain an understanding of the Universal Windows Platform and the application life cycle. Learn to create adaptive layouts with WinJS controls. Discover how to store and share data, capture a variety of input, and explore the unified Microsoft-specific APIs: Windows Core and Geolocation. Stacey Mulcahy, a Windows evangelist, provides developers with everything they need to start building Universal Windows apps and break into cross-device development.
- Setting up your development environment
- Coding in WinJS
- Creating page objects
- Animating page transitions
- Implementing responsive design principles and UI patterns
- Working with layout controls
- Using APIs: Windows Core and Geolocation
- Saving and reading data
Skill Level Beginner
1. Getting Started with Universal Windows Applications
3. Layouts and Controls
4. Utilizing APIs
5. Managing Data and Storage
Next steps1m 56s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.