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