File

test/src/sample-files/foo.component.ts

Metadata

selector app-foo
styles .host { width: 100%; height: 4px; top: 0; position: fixed; left: 0px; }
template <div class="host">
    <div></div>
</div>
    
import { Component } from '@angular/core';

@Component({
	selector: 'app-foo',
	styles: [`
		.host {
			width: 100%;
		  	height: 4px;
		  	top: 0;
		  	position: fixed;
		  	left: 0px;
		}
	`],
	template: `
		<div class="host">
			<div></div>
		</div>
	`
})
export class FooComponent { }

results matching ""

    No results matching ""