angular-docs-cn/modules/@angular/platform-browser
Tobias Bosch 7e4fd7d7da refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method
If a `@NgModule` has a `bootstrap` property, `PlatformRef.bootstrapModule` /
`PlatformRef.bootstrapModuleFactory` will automatically bootstrap the components
listed in there.
If such a property does not exist, `PlatformRef.bootstrapModule` /
`PlatformRef.bootstrapModuleFactory` will try to call the method `ngDoBootstrap(appRef: ApplicationRef)` on the module class.
Otherwise an error is reported.
2016-08-02 11:23:26 -07:00
..
src refactor: dart 2016-08-01 11:34:51 -07:00
test refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method 2016-08-02 11:23:26 -07:00
testing refactor(test): refine types 2016-07-29 13:53:13 -07:00
core_private.ts feat(browser): use AppModules for bootstrap in the browser 2016-07-02 20:35:09 -07:00
dynamic.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
index.ts chore: update public api 2016-07-26 07:45:40 -07:00
package.json chore(package.json): make the packages installable 2016-05-27 17:21:34 -07:00
private_export.ts refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
rollup.config.js fix: split dynamic bits in platform-browser into platform-browser-dynamic 2016-06-14 15:31:24 -07:00
testing.ts fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519) 2016-06-23 16:42:25 -07:00
tsconfig-es5.json fix(platform-browser): remove testing_e2e target (#10029) 2016-07-13 10:10:02 -07:00
tsconfig-es2015.json fix(platform-browser): remove testing_e2e target (#10029) 2016-07-13 10:10:02 -07:00