Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ogone/src/ogone.main.d.ts>OnodeComponent

Advanced Web Composition for Future
Latest
interface OnodeComponent
import { type OnodeComponent } from "https://deno.land/x/ogone@revb3/src/ogone.main.d.ts";

Properties

key: OgoneParameters["key"]
data: { [s: string]: any; } | null
type:
| "store"
| "async"
| "component"
| "router"
| "controller"
dependencies: null | string[]
state: number
activated: boolean
namespace: null | string
store: any
contexts: any
promises: Promise<any>[]
async: { then: null | any; catch: null | any; finally: null | any; }
promiseResolved: boolean
texts: (HTMLOgoneText)[]
parent: HTMLOgoneElement | null
requirements: any
positionInParentComponent: number[]
props: [string, string, ...any[]][]
optional
pluggedWebComponent: any
pluggedWebComponentIsSync: boolean
OnodeTriggerDefault: (params?: any, event?: Event | OgoneParameters["historyState"]) => any
resolve: Function | null
react: Function[]
dispatchAwait: Function | null

Methods

parentContext(ctx: any): any
initStore(): any
runtime(
_state: number | string,
ctx?: any,
event?: Parameters<OnodeComponent["OnodeTriggerDefault"]>[1],
): any