• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @laserfiche/lf-js-utils
  • IconUtils
  • getDocumentIconUrlFromIconId

Function getDocumentIconUrlFromIconId

  • getDocumentIconUrlFromIconId(iconId: string): string

    Returns the url to an svg icon from https://lfxstatic.com/npm/@laserfiche/lf-resource-library@4/resources/icons/document-icons.svg.

    Parameters

    • iconId: string

      e.g. edoc-code-20

    Returns string

    the url

    Example

    getDocumentIconUrlFromIconId('edoc-code-20'); // 'https://lfxstatic.com/npm/\@laserfiche/lf-resource-library\@4/resources/icons/document-icons.svg#edoc-code-20'
    
    • Defined in icon-utils.ts:13

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc