feat(url_resolver): support package: urls (fixes #2991)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<style>@import "angular2_material/src/components/checkbox/checkbox.css";</style>
|
||||
<style>@import "package:angular2_material/src/components/checkbox/checkbox.css";</style>
|
||||
|
||||
<div (^click)="toggle($event)">
|
||||
<div class="md-checkbox-container">
|
||||
|
@ -15,7 +15,10 @@ import {NumberWrapper} from 'angular2/src/facade/lang';
|
||||
'[attr.aria-disabled]': 'disabled'
|
||||
}
|
||||
})
|
||||
@View({templateUrl: 'angular2_material/src/components/checkbox/checkbox.html', directives: []})
|
||||
@View({
|
||||
templateUrl: 'package:angular2_material/src/components/checkbox/checkbox.html',
|
||||
directives: []
|
||||
})
|
||||
export class MdCheckbox {
|
||||
/** Whether this checkbox is checked. */
|
||||
checked: boolean;
|
||||
|
Reference in New Issue
Block a user