Type Alias H5PShowWhenOptions

H5PShowWhenOptions: {
    detach?: boolean;
    rules: H5PShowWhenRule[];
    type?: "and" | "or";
    widget?: string;
}

Type declaration

  • Optionaldetach?: boolean

    True means field is removed from DOM when hidden. Default behaviour is hiding it using CSS (display: none).

  • rules: H5PShowWhenRule[]
  • Optionaltype?: "and" | "or"
    "or"
    
  • Optionalwidget?: string