IsDisplayService
Class
Service for querying the display size programmatically.
For the string values passed to the isDisplay
methods please consult provideIsDisplay.
Source: lib/service/is-display.service.ts:23
Implements
OnDestroy
Methods
isDisplay$()
isDisplay$(option:
string
|number
):Observable
<boolean
>
Source: lib/service/is-display.service.ts:85
Parameters
Parameter | Type |
---|---|
option | string | number |
Returns
Observable
<boolean
>
isDisplay()
isDisplay(option:
string
|number
):boolean
Source: lib/service/is-display.service.ts:89
Parameters
Parameter | Type |
---|---|
option | string | number |
Returns
boolean
isDisplayAtLeast$()
isDisplayAtLeast$(option:
string
|number
):Observable
<boolean
>
Source: lib/service/is-display.service.ts:93
Parameters
Parameter | Type |
---|---|
option | string | number |
Returns
Observable
<boolean
>
isDisplayAtLeast()
isDisplayAtLeast(option:
string
|number
):boolean
Source: lib/service/is-display.service.ts:97
Parameters
Parameter | Type |
---|---|
option | string | number |
Returns
boolean
isDisplayAtMost$()
isDisplayAtMost$(option:
string
|number
):Observable
<boolean
>
Source: lib/service/is-display.service.ts:101
Parameters
Parameter | Type |
---|---|
option | string | number |
Returns
Observable
<boolean
>
isDisplayAtMost()
isDisplayAtMost(option:
string
|number
):boolean
Source: lib/service/is-display.service.ts:105
Parameters
Parameter | Type |
---|---|
option | string | number |
Returns
boolean