UNPKG

@rws-framework/client

Version:

Realtime Web Suit is a web-component powered, MS FAST powered fullstack-oriented framework that you can use to create domain-agnostic modular asynchoronous components with intershared authorized states.

9 lines (7 loc) 515 B
import { Accessor, Observable } from "@microsoft/fast-element"; import { ExtendedObservableAccessor } from "./_extended_accessor"; export class ExternalObservableAccessor extends ExtendedObservableAccessor { constructor(public name: string, protected customGet: (source: any, field: string) => any = null, protected customSet: (source: any, field: string, newVal: any) => boolean | void = null, protected watcher: any = void 0) { super(name, customGet, customSet, watcher, ''); } }