Skip to content

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

ParameterType
optionstring | number

Returns

Observable<boolean>

isDisplay()

isDisplay(option: string | number): boolean

Source: lib/service/is-display.service.ts:89

Parameters

ParameterType
optionstring | number

Returns

boolean

isDisplayAtLeast$()

isDisplayAtLeast$(option: string | number): Observable<boolean>

Source: lib/service/is-display.service.ts:93

Parameters

ParameterType
optionstring | number

Returns

Observable<boolean>

isDisplayAtLeast()

isDisplayAtLeast(option: string | number): boolean

Source: lib/service/is-display.service.ts:97

Parameters

ParameterType
optionstring | number

Returns

boolean

isDisplayAtMost$()

isDisplayAtMost$(option: string | number): Observable<boolean>

Source: lib/service/is-display.service.ts:101

Parameters

ParameterType
optionstring | number

Returns

Observable<boolean>

isDisplayAtMost()

isDisplayAtMost(option: string | number): boolean

Source: lib/service/is-display.service.ts:105

Parameters

ParameterType
optionstring | number

Returns

boolean