Skip to content

ravicoding/angular2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Angular 2

Few reuseble commponents I'm trying as part of language understanding.

##MultiInputComponent

Intended to write single component for all types of input activities

export class MultiInputComponent { inputData:string="";
bsData:string[] = [
    'this is foo1',
    'this is foo2',
    'this is foo3'
];

onKey(event: any) {
    if(event.keyCode == 13) {
        this.bsData.push(event.target.value);
        this.inputData ='';
        event.target.value='';
    } else {
        this.inputData = event.target.value;
    }
}

}

##ivar-grid

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published