This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree 1 file changed +6
-2
lines changed
public/docs/ts/latest/guide
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ a(id="special-selectors")
118
118
:marked
119
119
The `/deep/` selector also has the alias `>>>`. We can use either of the two interchangeably.
120
120
121
- .callout .is-important
121
+ .alert .is-important
122
122
:marked
123
123
The `/deep/` and `>>>` selectors should only be used with **emulated** view encapsulation.
124
124
This is the default and it is what we use most of the time. See the
@@ -160,7 +160,7 @@ a(id='loading-styles')
160
160
161
161
+ makeExample('component-styles/ts/app/hero-details.component.ts' , 'styleurls' )
162
162
163
- .callout .is-important
163
+ .alert .is-important
164
164
:marked
165
165
The URL is ***relative to the application root*** which is usually the
166
166
location of the `index.html` web page that hosts the application.
@@ -333,6 +333,10 @@ code-example(format='').
333
333
334
334
Fortunately, *certain* module loaders make it easy.
335
335
SystemJS (starting in v.0.19.19) sets a special `__moduleName` variable to the URL of the component file.
336
+ .alert.is-important
337
+ :marked
338
+ Caution: we currently regard the *__moduleName* feature as experimental.
339
+ :marked
336
340
Now it's trivial to set the `moduleId` to the `__moduleName` and write module-relative paths for style and template URLs.
337
341
338
342
+ makeExample('component-styles/ts/app/quest-summary.component.ts' ,'' , 'app/quest-summary.component.ts' )
You can’t perform that action at this time.
0 commit comments