@@ -54,12 +54,37 @@ <h1 mdc-typography-display1>Dialog</h1>
5454 </ tr >
5555 </ tbody >
5656 </ table >
57+ < table >
58+ < thead >
59+ < tr >
60+ < th > Directive</ th >
61+ </ tr >
62+ </ thead >
63+ < tbody >
64+ < tr >
65+ < td > mdc-dialog-header</ td >
66+ < td > Defines the header content block.</ td >
67+ </ tr >
68+ < tr >
69+ < td > mdc-dialog-header-title</ td >
70+ < td > A header title block.</ td >
71+ </ tr >
72+ < tr >
73+ < td > mdc-dialog-body</ td >
74+ < td > </ td >
75+ </ tr >
76+ < tr >
77+ < td > mdc-dialog-footer</ td >
78+ < td > </ td >
79+ </ tr >
80+ </ tbody >
81+ </ table >
5782 </ div >
5883 < div fxLayout ="column " fxLayoutGap ="20px " fxLayoutAlign ="start start " class ="mdc-padding ">
5984 < button mdc-button [primary] ="true " [raised] ="true " (click) ="showDialog(); "> Show Dialog</ button >
6085 < button mdc-button [primary] ="true " [raised] ="true " (click) ="showDialogScroll(); "> Show Scrolling Dialog</ button >
6186
62- < span mdc-typography-headline > Sample - Dialog</ span >
87+ < span mdc-typography-headline > Dialog</ span >
6388< pre style ="background:#000;color:#f8f8f8 "> < span style ="color:#89bdff "> << span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog</ span > #< span style ="color:#89bdff "> dialog</ span > > </ span >
6489 < span style ="color:#89bdff "> << span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-header</ span > > </ span >
6590 < span style ="color:#89bdff "> << span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-header-title</ span > > </ span >
@@ -70,13 +95,13 @@ <h1 mdc-typography-display1>Dialog</h1>
7095 Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running.
7196 < span style ="color:#89bdff "> </< span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-body</ span > > </ span >
7297 < span style ="color:#89bdff "> << span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-footer</ span > > </ span >
73- < span style ="color:#e0c589 "> << span style ="color:#e0c589 "> button</ span > < span style ="color:#e0c589 "> mdc-button</ span > < span style ="color:#e0c589 "> mdc-dialog-button-cancel</ span > ( < span style =" color:#e0c589 " > click </ span > )= < span style =" color:#65b042 " > "cancelDialog();" </ span > > </ span > Decline< span style ="color:#e0c589 "> </< span style ="color:#e0c589 "> button</ span > > </ span >
74- < span style ="color:#e0c589 "> << span style ="color:#e0c589 "> button</ span > < span style ="color:#e0c589 "> mdc-button</ span > < span style ="color:#e0c589 "> mdc-dialog-button-accept</ span > ( < span style =" color:#e0c589 " > click </ span > )= < span style =" color:#65b042 " > "acceptDialog();" </ span > > </ span > Accept< span style ="color:#e0c589 "> </< span style ="color:#e0c589 "> button</ span > > </ span >
98+ < span style ="color:#e0c589 "> << span style ="color:#e0c589 "> button</ span > < span style ="color:#e0c589 "> mdc-button</ span > < span style ="color:#e0c589 "> mdc-dialog-button-cancel</ span > > </ span > Decline< span style ="color:#e0c589 "> </< span style ="color:#e0c589 "> button</ span > > </ span >
99+ < span style ="color:#e0c589 "> << span style ="color:#e0c589 "> button</ span > < span style ="color:#e0c589 "> mdc-button</ span > < span style ="color:#e0c589 "> mdc-dialog-button-accept</ span > > </ span > Accept< span style ="color:#e0c589 "> </< span style ="color:#e0c589 "> button</ span > > </ span >
75100 < span style ="color:#89bdff "> </< span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-footer</ span > > </ span >
76101< span style ="color:#89bdff "> </< span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog</ span > > </ span >
77102</ pre >
78103
79- < span mdc-typography-headline > Sample - Scrolling Dialog</ span >
104+ < span mdc-typography-headline > Scrolling Dialog</ span >
80105< pre style ="background:#000;color:#f8f8f8 "> < span style ="color:#89bdff "> << span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog</ span > #< span style ="color:#89bdff "> dialogscroll</ span > > </ span >
81106 < span style ="color:#89bdff "> << span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-header</ span > > </ span >
82107 < span style ="color:#89bdff "> << span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-header-title</ span > > </ span >
@@ -99,8 +124,8 @@ <h1 mdc-typography-display1>Dialog</h1>
99124 < span style ="color:#89bdff "> </< span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -list</ span > > </ span >
100125 < span style ="color:#89bdff "> </< span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-body</ span > > </ span >
101126 < span style ="color:#89bdff "> << span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-footer</ span > > </ span >
102- < span style ="color:#e0c589 "> << span style ="color:#e0c589 "> button</ span > < span style ="color:#e0c589 "> mdc-button</ span > < span style ="color:#e0c589 "> mdc-dialog-button-cancel</ span > ( < span style =" color:#e0c589 " > click </ span > )= < span style =" color:#65b042 " > "cancelDialog();" </ span > > </ span > Decline< span style ="color:#e0c589 "> </< span style ="color:#e0c589 "> button</ span > > </ span >
103- < span style ="color:#e0c589 "> << span style ="color:#e0c589 "> button</ span > < span style ="color:#e0c589 "> mdc-button</ span > < span style ="color:#e0c589 "> mdc-dialog-button-accept</ span > ( < span style =" color:#e0c589 " > click </ span > )= < span style =" color:#65b042 " > "acceptDialog();" </ span > > </ span > Accept< span style ="color:#e0c589 "> </< span style ="color:#e0c589 "> button</ span > > </ span >
127+ < span style ="color:#e0c589 "> << span style ="color:#e0c589 "> button</ span > < span style ="color:#e0c589 "> mdc-button</ span > < span style ="color:#e0c589 "> mdc-dialog-button-cancel</ span > > </ span > Decline< span style ="color:#e0c589 "> </< span style ="color:#e0c589 "> button</ span > > </ span >
128+ < span style ="color:#e0c589 "> << span style ="color:#e0c589 "> button</ span > < span style ="color:#e0c589 "> mdc-button</ span > < span style ="color:#e0c589 "> mdc-dialog-button-accept</ span > > </ span > Accept< span style ="color:#e0c589 "> </< span style ="color:#e0c589 "> button</ span > > </ span >
104129 < span style ="color:#89bdff "> </< span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog-footer</ span > > </ span >
105130< span style ="color:#89bdff "> </< span style ="color:#89bdff "> mdc</ span > < span style ="color:#89bdff "> -dialog</ span > > </ span >
106131</ pre >
@@ -114,8 +139,8 @@ <h1 mdc-typography-display1>Dialog</h1>
114139 Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running.
115140 </ mdc-dialog-body >
116141 < mdc-dialog-footer >
117- < button mdc-button mdc-dialog-button-cancel (click) =" cancelDialog(); " > Decline</ button >
118- < button mdc-button mdc-dialog-button-accept (click) =" acceptDialog(); " > Accept</ button >
142+ < button mdc-button mdc-dialog-button-cancel > Decline</ button >
143+ < button mdc-button mdc-dialog-button-accept > Accept</ button >
119144 </ mdc-dialog-footer >
120145</ mdc-dialog >
121146
@@ -141,8 +166,8 @@ <h1 mdc-typography-display1>Dialog</h1>
141166 </ mdc-list >
142167 </ mdc-dialog-body >
143168 < mdc-dialog-footer >
144- < button mdc-button mdc-dialog-button-cancel (click) =" cancelDialog(); " > Decline</ button >
145- < button mdc-button mdc-dialog-button-accept (click) =" acceptDialog(); " > Accept</ button >
169+ < button mdc-button mdc-dialog-button-cancel > Decline</ button >
170+ < button mdc-button mdc-dialog-button-accept > Accept</ button >
146171 </ mdc-dialog-footer >
147172</ mdc-dialog >
148173 </ div >
0 commit comments