@@ -78,11 +78,42 @@ <h1>@angular-material-extensions/google-maps-autocomplete</h1>
78
78
class ="autocomplete-container "
79
79
[ngStyle.xs] ="{'min-width.%': 100} "
80
80
[ngStyle.sm] ="{'width.%': 70} ">
81
- < mat-google-maps-autocomplete [appearance] ="appearance.STANDARD "
82
- (onAutocompleteSelected) ="onAutocompleteSelected($event) "
83
- (onLocationSelected) ="onLocationSelected($event) ">
81
+ < mat-google-maps-autocomplete
82
+ [addressLabelText] ="config.addressLabelText "
83
+ [placeholderText] ="config.placeholderText "
84
+ [requiredErrorText] ="'config.requiredErrorText' "
85
+ [invalidErrorText] ="config.invalidErrorText "
86
+ [country] ="config.country "
87
+ [appearance] ="config.appearance "
88
+ (onAutocompleteSelected) ="onAutocompleteSelected($event) "
89
+ (onLocationSelected) ="onLocationSelected($event) ">
84
90
</ mat-google-maps-autocomplete >
85
91
92
+ < mat-accordion >
93
+ < mat-expansion-panel >
94
+ < mat-expansion-panel-header >
95
+ < mat-panel-title >
96
+ @Input()
97
+ </ mat-panel-title >
98
+ < mat-panel-description >
99
+ Change the default values
100
+ </ mat-panel-description >
101
+ </ mat-expansion-panel-header >
102
+ < app-config #config > </ app-config >
103
+ </ mat-expansion-panel >
104
+
105
+ < mat-expansion-panel fxHide ="true ">
106
+ < mat-expansion-panel-header >
107
+ < mat-panel-title >
108
+ @Output()
109
+ </ mat-panel-title >
110
+ < mat-panel-description >
111
+ See the return values of the available events
112
+ </ mat-panel-description >
113
+ </ mat-expansion-panel-header >
114
+ </ mat-expansion-panel >
115
+ </ mat-accordion >
116
+
86
117
<!--<mat-google-maps-autocomplete country="us"-->
87
118
<!--type="address"-->
88
119
<!--(onAddressSelected)="onAutocompleteSelected($event)"-->
@@ -102,7 +133,7 @@ <h1>@angular-material-extensions/google-maps-autocomplete</h1>
102
133
<!--tab 3 TS-->
103
134
< mat-tab >
104
135
< ng-template mat-tab-label > TS</ ng-template >
105
- < pre > < code highlight [code] ="ts "> </ code > </ pre >
136
+ < pre > < code highlight [code] ="ts " style =" max-height: 700px " > </ code > </ pre >
106
137
</ mat-tab >
107
138
108
139
<!--tab 4 SCSS-->
0 commit comments