Options
All
  • Public
  • Public/Protected
  • All
Menu

RxComp

Index

Type aliases

ExpressionFunction

ExpressionFunction: (payload: any, module: Module) => any

Type declaration

    • (payload: any, module: Module): any
    • Parameters

      Returns any

FactoryList

FactoryList: typeof Factory[]

MatchFunction

MatchFunction: (node: HTMLElement) => boolean

Type declaration

PipeList

PipeList: typeof Pipe[]

PipeMap

PipeMap: {}

Type declaration

  • [key: string]: typeof Pipe

SelectorFunction

SelectorFunction: (node: HTMLElement) => ISelectorResult | false

Type declaration

Variables

Const CONTEXTS

CONTEXTS: {}

Type declaration

Const EVENTS

EVENTS: string[] = ['mousedown', 'mouseup', 'mousemove', 'click', 'dblclick', 'mouseover', 'mouseout', 'mouseenter', 'mouseleave', 'contextmenu', 'touchstart', 'touchmove', 'touchend', 'keydown', 'keyup', 'input', 'change', 'loaded']

Const ErrorInterceptors

ErrorInterceptors: IErrorInterceptor[] = []

Let ID

ID: number = 0

Const NODES

NODES: {}

Type declaration

Const ORDER

ORDER: FactoryList = [Structure, Component, Directive]

Const PLATFORM_BROWSER

PLATFORM_BROWSER: boolean = typeof window !== 'undefined' && typeof window.document !== 'undefined'

Const PLATFORM_JS_DOM

PLATFORM_JS_DOM: boolean = (typeof window !== 'undefined' && window.name === 'nodejs') || (typeof navigator !== 'undefined' && navigator.userAgent.indexOf('Node.js') !== -1) || (typeof navigator !== 'undefined' && navigator.userAgent.indexOf('jsdom') !== -1)

Const PLATFORM_NODE

PLATFORM_NODE: boolean = typeof process !== 'undefined' && process.versions != null && process.versions.node != null

Const PLATFORM_WEB_WORKER

PLATFORM_WEB_WORKER: boolean = typeof self === 'object' && self.constructor && self.constructor.name === 'DedicatedWorkerGlobalScope'

Const RESERVED_PROPERTIES

RESERVED_PROPERTIES: string[] = ['constructor', 'rxcompId', 'onInit', 'onChanges', 'onDestroy', 'pushChanges', 'changes$', 'unsubscribe$']

Const WINDOW

WINDOW: Window = ((typeof self === 'object' && self.self === self && self) || (typeof global === 'object' && global.global === global && global) || this) as unknown as Window

Const errors$

errors$: Observable<Error | void> = nextError$.pipe(switchMap((error: Error) => {const chain: IErrorHandler = ErrorInterceptors.reduceRight((next: IErrorHandler, interceptor: IErrorInterceptor) => {return new ErrorInterceptorHandler(next, interceptor);}, new DefaultErrorHandler());return chain.handle(error);}),tap((error: Error | void) => {if (error) {console.error(error);}}),)

Const factories

factories: typeof Factory[] = [ClassDirective,EventDirective,ForStructure,HrefDirective,HrefTargetDirective,IfStructure,InnerHtmlDirective,JsonComponent,SrcDirective,StyleDirective,]

Const isPlatformBrowser

isPlatformBrowser: boolean = !PLATFORM_NODE && PLATFORM_BROWSER

Const isPlatformServer

isPlatformServer: boolean = PLATFORM_NODE

Const isPlatformWorker

isPlatformWorker: boolean = PLATFORM_WEB_WORKER

Const nextError$

nextError$: ReplaySubject<Error> = new ReplaySubject<Error>(1)

Const pipes

pipes: typeof Pipe[] = [JsonPipe,]

Functions

decodeBase64

  • decodeBase64(value: string): string

decodeJson

  • decodeJson(value: string): any

encodeBase64

  • encodeBase64(value: string): string

encodeJson

  • encodeJson(value: any, circularRef?: any, space?: string | number): string

encodeJsonWithOptions

  • encodeJsonWithOptions(circularRef?: any, space?: string | number): (value: any) => string

getContext

getContextByNode

getHost

getLocationComponents

getParsableContextByElement

optionsToKey

  • optionsToKey(v: any, s?: string): string