File

src/app/components/geolocation/geolocation.component.ts

Description

Geolocation component. ~implements AfterViewInit

Implements

AfterViewInit

Metadata

Index

Properties
Methods
Accessors

Constructor

constructor(uiService: UiService, sanitizerService: SanitizerService, geolocationService: GeolocationService)

Constructs the Geolocation component.

Parameters :
Name Type Optional Description
uiService UiService No

The ui service injected dependency.

sanitizerService SanitizerService No

The DOM sanitizer service injected dependency.

geolocationService GeolocationService No

The geolocation service injected dependency.

Methods

ngAfterViewInit
ngAfterViewInit()

Initialization

Returns : void

Properties

Public uiService
Type : UiService
The ui service injected dependency.

Accessors

Geolocation
getGeolocation()

Geolocation getter.

setGeolocation(value)

Geolocation setter.

Parameters :
Name Optional
value No
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 :
Name Optional
value No
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;
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""