Type Alias H5PForm<TParams>
H5PForm: { $common: JQuery<HTMLElement> | null; $commonButton: JQuery<HTMLElement> | null; $form: JQuery<HTMLElement> | null; addLanguages: ( libraryName: string, languageCodes: (
string | undefined)
[], ) => void; children: H5PGroup[]; commonFields: Record< UberName, { l10n: { instance: H5PGroup; params: unknown; parents: H5PForm; setValues: H5PSetValue<unknown>; }; }, >; currentLibrary?: UberName; metadata: H5PMetadata; metadataForm: H5PMetadataForm | null; offset: { left: number; top: number }; params: TParams; parent: H5PForm | null; passReadies: boolean; readies: unknown[]; ready: (callback: () => void) => void; removeLanguages: ( libraryName: string, languageCodes: (
string | undefined)
[], ) => void; zebra: "odd" | "even";} Type declaration
$common: JQuery<HTMLElement> | null
$commonButton: JQuery<HTMLElement> | null
addLanguages: (libraryName: string, languageCodes: (string | undefined)[]) => void
commonFields: Record<
UberName,
{
l10n: {
instance: H5PGroup;
params: unknown;
parents: H5PForm;
setValues: H5PSetValue<unknown>;
};
},
>
Optional
currentLibrary?: UberName
offset: { left: number; top: number }
parent: H5PForm | null
passReadies: boolean
readies: unknown[]
ready: (callback: () => void) => void
removeLanguages: (libraryName: string, languageCodes: (string | undefined)[]) => void
zebra: "odd" | "even"
Add new languages for content type.