@@ -3,63 +3,114 @@ <h1>Angular-React Demo</h1>
33 < h2 > Getting up and running...</ h2 >
44
55 < ol >
6- < li > Add
7- < i > AngularReactBrowserModule</ i > to
8- < i > app.module.ts</ i > in place of the default
9- < i > BrowserModule</ i > .</ li >
10- < li > Add
11- < i > Fab[component]Module</ i > or
12- < i > Mat[component]Module</ i > to
13- < i > app.module.ts</ i > imports.</ li >
6+ < li > Add < i > AngularReactBrowserModule</ i > to < i > app.module.ts</ i > in place of the default < i > BrowserModule</ i > .</ li >
7+ < li > Add < i > Fab[component]Module</ i > or < i > Mat[component]Module</ i > to < i > app.module.ts</ i > imports.</ li >
148 < li > Add Fabric or Material components to your views.</ li >
159 </ ol >
1610</ div >
1711
12+ < fab-icon iconName ="Add " (onClick) ="onClickEventHandler($event) " (onMouseOver) ="onMouseOverEventHandler($event) ">
13+ </ fab-icon >
14+
1815< div >
1916 < fab-pivot >
20- < fab-pivot-item headerText ="Tab 1 ">
21- < div > Tab 1's content</ div >
22- </ fab-pivot-item >
23- < fab-pivot-item headerText ="Tab 2 ">
24- < div > Tab 2's content</ div >
25- </ fab-pivot-item >
26- < fab-pivot-item headerText ="Tab 3 ">
27- < div > Tab 3's content</ div >
28- </ fab-pivot-item >
17+ < fab-pivot-item headerText ="Tab 1 "> < div > Tab 1's content</ div > </ fab-pivot-item >
18+ < fab-pivot-item headerText ="Tab 2 "> < div > Tab 2's content</ div > </ fab-pivot-item >
19+ < fab-pivot-item headerText ="Tab 3 "> < div > Tab 3's content</ div > </ fab-pivot-item >
2920 </ fab-pivot >
3021
3122 < fab-command-bar >
3223 < items >
33- < fab-command-bar-item key ="run " text ="Run " [iconProps] ="{ iconName: 'CaretRight' } " [disabled] ="runDisabled "> </ fab-command-bar-item >
34- < fab-command-bar-item key ="new " text ="New " [iconProps] ="{ iconName: 'Add' } " (click) ="onNewClicked() "> </ fab-command-bar-item >
35- < fab-command-bar-item key ="copy1 " text ="Copy1 " [iconProps] ="{ iconName: 'Copy' } " (click) ="onCopyClicked() "> </ fab-command-bar-item >
36- < fab-command-bar-item key ="copy2 " text ="Copy2 " [iconProps] ="{ iconName: 'Copy' } " (click) ="onCopyClicked() "> </ fab-command-bar-item >
37- < fab-command-bar-item key ="copy3 " text ="Copy3 " [iconProps] ="{ iconName: 'Copy' } " (click) ="onCopyClicked() "> </ fab-command-bar-item >
38- < fab-command-bar-item key ="copy4 " text ="Copy4 " [iconProps] ="{ iconName: 'Copy' } " (click) ="onCopyClicked() "> </ fab-command-bar-item >
39- < fab-command-bar-item key ="copy5 " text ="Copy5 " [iconProps] ="{ iconName: 'Copy' } " (click) ="onCopyClicked() "> </ fab-command-bar-item >
40- < fab-command-bar-item key ="copy6 " text ="Copy6 " [iconProps] ="{ iconName: 'Copy' } " (click) ="onCopyClicked() "> </ fab-command-bar-item >
41- < fab-command-bar-item key ="copy7 " text ="Copy7 " [iconProps] ="{ iconName: 'Copy' } " (click) ="onCopyClicked() "> </ fab-command-bar-item >
42- < fab-command-bar-item key ="copy8 " text ="Copy8 " [iconProps] ="{ iconName: 'Copy' } " (click) ="onCopyClicked() "> </ fab-command-bar-item >
43- < fab-command-bar-item key ="copy9 " text ="Copy9 " [iconProps] ="{ iconName: 'Copy' } " (click) ="onCopyClicked() "> </ fab-command-bar-item >
24+ < fab-command-bar-item
25+ key ="run "
26+ text ="Run "
27+ [iconProps] ="{ iconName: 'CaretRight' } "
28+ [disabled] ="runDisabled "
29+ > </ fab-command-bar-item >
30+ < fab-command-bar-item
31+ key ="new "
32+ text ="New "
33+ [iconProps] ="{ iconName: 'Add' } "
34+ (click) ="onNewClicked() "
35+ > </ fab-command-bar-item >
36+ < fab-command-bar-item
37+ key ="copy1 "
38+ text ="Copy1 "
39+ [iconProps] ="{ iconName: 'Copy' } "
40+ (click) ="onCopyClicked() "
41+ > </ fab-command-bar-item >
42+ < fab-command-bar-item
43+ key ="copy2 "
44+ text ="Copy2 "
45+ [iconProps] ="{ iconName: 'Copy' } "
46+ (click) ="onCopyClicked() "
47+ > </ fab-command-bar-item >
48+ < fab-command-bar-item
49+ key ="copy3 "
50+ text ="Copy3 "
51+ [iconProps] ="{ iconName: 'Copy' } "
52+ (click) ="onCopyClicked() "
53+ > </ fab-command-bar-item >
54+ < fab-command-bar-item
55+ key ="copy4 "
56+ text ="Copy4 "
57+ [iconProps] ="{ iconName: 'Copy' } "
58+ (click) ="onCopyClicked() "
59+ > </ fab-command-bar-item >
60+ < fab-command-bar-item
61+ key ="copy5 "
62+ text ="Copy5 "
63+ [iconProps] ="{ iconName: 'Copy' } "
64+ (click) ="onCopyClicked() "
65+ > </ fab-command-bar-item >
66+ < fab-command-bar-item
67+ key ="copy6 "
68+ text ="Copy6 "
69+ [iconProps] ="{ iconName: 'Copy' } "
70+ (click) ="onCopyClicked() "
71+ > </ fab-command-bar-item >
72+ < fab-command-bar-item
73+ key ="copy7 "
74+ text ="Copy7 "
75+ [iconProps] ="{ iconName: 'Copy' } "
76+ (click) ="onCopyClicked() "
77+ > </ fab-command-bar-item >
78+ < fab-command-bar-item
79+ key ="copy8 "
80+ text ="Copy8 "
81+ [iconProps] ="{ iconName: 'Copy' } "
82+ (click) ="onCopyClicked() "
83+ > </ fab-command-bar-item >
84+ < fab-command-bar-item
85+ key ="copy9 "
86+ text ="Copy9 "
87+ [iconProps] ="{ iconName: 'Copy' } "
88+ (click) ="onCopyClicked() "
89+ > </ fab-command-bar-item >
4490 < fab-command-bar-item key ="custom " text ="custom text " (click) ="onCopyClicked() ">
4591 < render >
46- < ng-template let-item ="item ">
47- < counter > </ counter >
48- </ ng-template >
92+ < ng-template let-item ="item "> < counter > </ counter > </ ng-template >
4993 </ render >
5094
51- <!-- <render-icon>
95+ <!--
96+ <render-icon>
5297 <ng-template let-contextualMenuItemProps="contextualMenuItemProps">
5398 <div>custom icon</div>
5499 </ng-template>
55- </render-icon> -->
100+ </render-icon>
101+ -->
56102 </ fab-command-bar-item >
57103 < fab-command-bar-item *ngIf ="runDisabled " key ="sometimesVisible " text ="woosh "> </ fab-command-bar-item >
58104 </ items >
59105
60106 < far-items >
61107 < fab-command-bar-item key ="help " text ="Help " [iconProps] ="{ iconName: 'Help' } "> </ fab-command-bar-item >
62- < fab-command-bar-item key ="full-screen " [iconOnly] ="true " [iconProps] ="{ iconName: fullScreenIcon } " (click) ="toggleFullScreen() "> </ fab-command-bar-item >
108+ < fab-command-bar-item
109+ key ="full-screen "
110+ [iconOnly] ="true "
111+ [iconProps] ="{ iconName: fullScreenIcon } "
112+ (click) ="toggleFullScreen() "
113+ > </ fab-command-bar-item >
63114 </ far-items >
64115 </ fab-command-bar >
65116
0 commit comments