taggedjs
Version:
tagged template reactive html
11 lines (10 loc) • 637 B
TypeScript
import { AnySupport, TemplateValue } from "../index.js";
import { AttributeContextItem } from "../tag/AttributeContextItem.type.js";
import { SubscribeValue } from "./subscribe.function.js";
import { TagJsTag } from "./TagJsTag.type.js";
export declare function processSubscribeAttribute(name: string, value: SubscribeValue, // TemplateValue | StringTag | SubscribeValue | SignalObject,
element: Element, _tagJsVar: TagJsTag<any>, // same as value
contextItem: AttributeContextItem, ownerSupport: AnySupport): {
subContext: import("../index.js").SubContext;
onOutput: (callbackValue: TemplateValue, syncRun: boolean) => void;
};