Skip to content

Type Alias: REnumField ​

ts
type REnumField = typeof REnumField & ComponentPublicInstance;

Component type for the REnumField. Represents the complete enum field component with dynamic choice loading support, multiple rendering variants, and unified field architecture integration. Use this type for component references, template refs, and programmatic component manipulation.

Example ​

typescript
// Template ref typing
const enumFieldRef = ref<REnumField>();

// Component type checking
const isEnumField = (component: unknown): component is REnumField => {
  return component?.name === "REnumField";
};

// Programmatic component usage
const createEnumField = (): REnumField => {
  return REnumField;
};