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