bool scrollLockEnabled(bool? enable = null)

Gets or sets scroll lock key state

Security

Trust Level Required: Low Trust

Parameters

Name Description
enable (Optional) bool?
Enables or disables the scroll lock key if specified. Defaults to null, which does not change the scroll lock state.

Return

True if scroll lock is enabled, false otherwise

Examples


setInterval(function() {
	if (!KioUtils.scrollLockEnabled())
		KioUtils.scrollLockEnabled(true);
}, 500);

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.