feat(elements): implement registerAsCustomElements()

closes #19469
This commit is contained in:
George Kalpakas
2017-10-12 12:38:29 +03:00
committed by Victor Berchet
parent 60c0b178af
commit dcf8840831
4 changed files with 168 additions and 0 deletions

View File

@ -23,5 +23,8 @@ export interface NgElementConstructor<T, P> {
export declare type NgElementWithProps<T, P> = NgElement<T> & {
[property in keyof
/** @experimental */
export declare function registerAsCustomElements<T>(customElementComponents: Type<any>[], platformRef: PlatformRef, moduleFactory: NgModuleFactory<T>): Promise<NgModuleRef<T>>;
/** @experimental */
export declare const VERSION: Version;