Skip to content

Instantly share code, notes, and snippets.

@cmddavid
cmddavid / streetview.component.css
Last active January 19, 2023 06:57
Example street view component utilizing MapsAPILoader from @agm/core package
#streetview-map {
display: none;
}
#streetview-pano {
width: 100%;
height: 100%;
}
#streetview-container {
class Validator {
validateProperties?(props: (keyof Person)[]){
props.forEach((prop:string) => {
if(!this[prop]){
console.error(`Missing "${prop}" property in object`);
}
})
}
}