Presentation is loading. Please wait.

Presentation is loading. Please wait.

@ScotHillier Web Parts Workflows Pages Libraries App Parts SharePoint-Hosted Apps Provider-Hosted Apps.

Similar presentations


Presentation on theme: "@ScotHillier Web Parts Workflows Pages Libraries App Parts SharePoint-Hosted Apps Provider-Hosted Apps."— Presentation transcript:

1

2

3 scot@scothillier.net @ScotHillier

4 Web Parts Workflows Pages Libraries App Parts SharePoint-Hosted Apps Provider-Hosted Apps

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25 Module Routes ViewController DirectivesFactory $scope

26

27

28 Initializes the app. Can be anonymous or named. Creates a property on the ViewModel References a controller named “myCtrl”, which creates a new ViewModel. References a controller method to call on a click event

29 {{firstName}} Binds ViewModels to HTML elements Uses {{…}} syntax References a property of a ViewModel Supports two-way binding This example will display whatever the user types

30 //module var myapp = angular.module("MyApp", []); Reference dependent modules

31 //controller myapp.controller("welcomeCtrl", ["$scope", function welcomeCtrl($scope) { //model $scope.welcomeMessage = "Hi"; } ); Build up the $scope (a.k.a, View Model)

32 {{welcomeMessage}} Bind the $scope to the HTML elements

33

34

35

36

37

38

39 @media (max-width: 600px) {.facet_sidebar { display: none; } //media query with JavaScript var mq = window.matchMedia("(max-width:600px)"); mq.addListener(function () { //do something; });

40 .col-xs-12.col-md-8.col-xs-6.col-md-4.col-xs-6.col-md-4.col-xs-6

41

42

43

44 Sponsored by

45


Download ppt "@ScotHillier Web Parts Workflows Pages Libraries App Parts SharePoint-Hosted Apps Provider-Hosted Apps."

Similar presentations


Ads by Google