src/app/components/geolocation/geolocation.component.ts
Geolocation component. ~implements AfterViewInit
AfterViewInit
selector | app-geolocation |
styleUrls | ./geolocation.component.scss |
templateUrl | ./geolocation.component.html |
Properties |
|
Methods |
Accessors |
constructor(uiService: UiService, sanitizerService: SanitizerService, geolocationService: GeolocationService)
|
||||||||||||||||
Constructs the Geolocation component.
Parameters :
|
ngAfterViewInit |
ngAfterViewInit()
|
Initialization
Returns :
void
|
Public uiService |
Type : UiService
|
The ui service injected dependency.
|
Geolocation | ||||
getGeolocation()
|
||||
Geolocation getter. |
||||
setGeolocation(value)
|
||||
Geolocation setter.
Parameters :
Returns :
void
|
GeolocationIsEu |
getGeolocationIsEu()
|
Geolocation if is in EU getter. |
GeolocationFlagEu |
getGeolocationFlagEu()
|
Geolocation EU flag getter. |
GeolocationFlagEuEmoji |
getGeolocationFlagEuEmoji()
|
Geolocation EU flag emoji getter. |
GeolocationFlag |
getGeolocationFlag()
|
Geolocation flag getter. |
GeolocationFlagEmoji |
getGeolocationFlagEmoji()
|
Geolocation flag emoji getter. |
Location |
getLocation()
|
Geolocation getter. |
GeolocationCountry |
getGeolocationCountry()
|
Geolocation country getter. |
GeolocationStateProv |
getGeolocationStateProv()
|
Geolocation state_prov getter. |
GeolocationCity |
getGeolocationCity()
|
Geolocation city getter. |
GeolocationIP |
getGeolocationIP()
|
Geolocation IP getter. |
GeolocationIpType |
getGeolocationIpType()
|
Geolocation IP type getter. |
GeolocationUrl |
getGeolocationUrl()
|
Geolocation url getter. |
space |
getspace()
|
Space placeholder. |
divider |
getdivider()
|
Divider delegate. |
ShowDivider | ||||
getShowDivider()
|
||||
Show divider feature toggle getter. |
||||
setShowDivider(value)
|
||||
Show divider feature toggle setter.
Parameters :
Returns :
void
|
./geolocation.component.scss
@use "../stylesheets/stylesheets.component.scss";
img {
max-width: 20px;
max-height: 12px;
vertical-align: baseline;
}
span {
font-family: 'Twemoji', sans-serif;
}