How to use @sq-ui/ng-sq-common - 1 common examples

To help you get started, we’ve selected a few @sq-ui/ng-sq-common examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SQ-UI / ng-sq-ui / projects / ng-sq-ui / src / lib / form-elements / tags-input / tags-input.component.ts View on Github external
ngAfterViewInit() {
    if (OSDetectorService.getDeviceOS() === DeviceOS.Android) {
      const inputEvent = fromEvent(this.tagsInput.nativeElement, 'input');
      inputEvent.pipe(map(event => event));

      this.inputEventSubscription = inputEvent.subscribe(($event: any) => {
        if ($event.data === ' ') {
          this.onUserInput({ keyCode: 32 });
        }
      });
    }
  }

@sq-ui/ng-sq-common

The core module for SQ-UI kit for Angular

MIT
Latest version published 4 months ago

Package Health Score

66 / 100
Full package analysis

Popular @sq-ui/ng-sq-common functions

Similar packages