Static accessors

Public

Tag.wrapper

The public static set accessor sets an instance of Wrapper into the static private property defaultWrapper.

tag.class.ts
public static set wrapper(wrapper: Wrapper<any, any>) {
  Wrapper.isWrapper(wrapper) && (this.defaultWrapper = wrapper);
}

The public static get accessor gets an instance of Wrapper from the static private property defaultWrapper.

tag.class.ts
public static get wrapper(): Wrapper<any, any> {
  return this.defaultWrapper;
}

Last updated