Skip to content

v1.1.0-alpha1 – Angular 2 Directives

Compare
Choose a tag to compare
@Saulis Saulis released this 26 Apr 13:19
· 917 commits to master since this release

Features:

  • Angular 2 Directive for <vaadin-date-picker>
import {Component} from 'angular2/core';
import {VaadinDatePicker} from '../bower_components/vaadin-date-picker/directives/vaadin-date-picker';

@Component({
  selector: 'my-component',
  template: `
    <vaadin-date-picker label="Birthday" [(value)]="birthday"></vaadin-date-picker>
  `,
  directives: [VaadinDatePicker]
})
export class MyComponent {
  birthday = "2000-01-01";
}