This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HostListener } from '@angular/core'; | |
import { Subject, UnaryFunction, Observable } from 'rxjs'; | |
export function ObservableHostListener<T, R = never>( | |
eventName: string, | |
args?: string[], | |
operator?: UnaryFunction<Observable<T>, Observable<R>> | |
): PropertyDecorator { | |
// Calling HostListener will return a decorator, ready to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>test for weinre bug 13</title> | |
<style> | |
.block{ /* this one is visible in the Styles side panel */ | |
background-color: #f00; | |
color: #fff; | |
padding: 3em; | |
} |