formgen/source/logic/input/empty.ts
2026-04-22 22:24:32 +02:00

50 lines
575 B
TypeScript

namespace formgen.input
{
/**
*/
export class class_input_empty implements interface_input<null>
{
/**
*/
public constructor(
)
{
}
/**
* [implementation]
*/
public setup(
element_target : Element
) : Promise<void>
{
return Promise.resolve<void>(undefined);
}
/**
* [implementation]
*/
public read(
) : Promise<null>
{
return Promise.resolve<null>(null);
}
/**
* [implementation]
*/
public write(
value : null
) : Promise<void>
{
return Promise.resolve<void>(undefined);
}
}
}