UNPKG

@rws-framework/client

Version:

This package provides the core client-side framework for Realtime Web Suit (RWS), enabling modular, asynchronous web components, state management, and integration with backend services. It is located in `.dev/client`.

9 lines (7 loc) 538 B
import { Accessor, Observable } from "@microsoft/fast-element"; import { ExtendedObservableAccessor } from "./_extended_accessor"; export class DefaultObservableAccessor 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, suffix: string = 'Changed') { super(name, customGet, customSet, watcher, suffix); } }