Home Manual Reference Source Repository
import {ViewSerializer} from 'ug-layout/view/ViewSerializer'
public class | source

ViewSerializer

Static Method Summary

Static Public Methods
public static

register(container: *)

Constructor Summary

Public Constructor
public

constructor(_container: *)

Method Summary

Public Methods
public

deserialize(node: *): *

public

serialize(node: *): {"token": *, "name": string, "tags": *, "ref": *, "caching": *, "lazy": *, "useClass": *, "resolution": *}

Static Public Methods

public static register(container: *) source

Params:

NameTypeAttributeDescription
container *

Public Constructors

public constructor(_container: *) source

Params:

NameTypeAttributeDescription
_container *

Public Methods

public deserialize(node: *): * source

Params:

NameTypeAttributeDescription
node *

Return:

*

public serialize(node: *): {"token": *, "name": string, "tags": *, "ref": *, "caching": *, "lazy": *, "useClass": *, "resolution": *} source

Params:

NameTypeAttributeDescription
node *

Return:

{"token": *, "name": string, "tags": *, "ref": *, "caching": *, "lazy": *, "useClass": *, "resolution": *}