mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
23 lines
No EOL
630 B
TypeScript
23 lines
No EOL
630 B
TypeScript
/// <reference path="keyboardView.interface.ts" />
|
|
|
|
namespace com.keyman.osk {
|
|
export class EmptyView implements KeyboardView {
|
|
readonly element: HTMLDivElement;
|
|
|
|
constructor() {
|
|
let Ldiv = this.element = document.createElement('div');
|
|
Ldiv.style.userSelect = 'none';
|
|
Ldiv.className='kmw-osk-none';
|
|
}
|
|
|
|
// No operations needed; this is a stand-in for the desktop OSK when no keyboard is active.
|
|
public postInsert() { }
|
|
public updateState() { }
|
|
|
|
public refreshLayout() { }
|
|
|
|
public get layoutHeight(): ParsedLengthStyle {
|
|
return ParsedLengthStyle.inPixels(0);
|
|
}
|
|
}
|
|
} |