- Preparing search index...
- The search index is not available
@tomic
- useTitle(resource: Resource, truncateLength?: number, opts?: useValueOptions): [string, ((string: string) => Promise<void>)]
-
Parameters
-
-
truncateLength: number = 40
-
Returns [string, ((string: string) => Promise<void>)]
Returns the most fitting title / name for a Resource. This is either the Name, Shortname, Filename or truncated Subject URL of that resource.