Page MenuHomeSealhub

hidden-input.ts
No OneTemporary

hidden-input.ts

import { FlatTemplatable, tempstream } from "tempstream";
import { FormFieldControl } from "./form-field-control";
export class HiddenInput extends FormFieldControl {
constructor(public name: string, public value: FlatTemplatable) {
super([]);
}
render(): FlatTemplatable | Promise<FlatTemplatable> {
return tempstream`<input type="hidden" name="${this.name}" value="${this.value}">`;
}
}

File Metadata

Mime Type
text/x-java
Expires
Sat, Sep 20, 14:56 (22 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
949305
Default Alt Text
hidden-input.ts (399 B)

Event Timeline