GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code

This view

  • Original page
  • New address

GeezerVison is showing angular.dev — renderModule • Angular

API

function renderModule<T>(
  moduleType: Type<T>,
  options: {
    document?: string | Document | undefined;
    url?: string | undefined;
    extraProviders?: StaticProvider[] | undefined;
    allowedHosts?: string[] | undefined;
  },
): Promise<string>;
@parammoduleTypeType<T>

A reference to an NgModule that should be used for bootstrap.

@paramoptions{ document?: string | Document | undefined; url?: string | undefined; extraProviders?: StaticProvider[] | undefined; allowedHosts?: string[] | undefined; }

Additional configuration for the render operation:

  • document - the document of the page to render, either as an HTML string or as a reference to the document instance.
  • url - the URL for the current render request.
  • extraProviders - set of platform level providers for the current render request.
  • allowedHosts - the allowed hosts list for host validation in server-side rendering.
@returnsPromise<string>
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.