Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/ui-kit / Class

NgDocScrollService

Decorators:@Injectable

No documentation has been provided.

Constructor

No documentation has been provided.

Presentation
constructor(
	@Inject() private readonly document: Document, 
	private readonly viewportRuler: ViewportRuler
): NgDocScrollService;
Parameters
NameTypeDescription
r
document
Document
r
viewportRuler
ViewportRuler

Methods

block()

Block global scroll

Presentation
block(): void;
Returns
void

unblock()

Unblock global scroll

Presentation
unblock(): void;
Returns
void