@nextcloud/router
    Preparing search index...

    Interface AvatarUrlOptions

    interface AvatarUrlOptions {
        isDarkTheme?: boolean;
        isGuestUser?: boolean;
        size?: 64 | 512;
    }
    Index

    Properties

    isDarkTheme?: boolean

    Should a dark theme variant of the avatar be used.

    false
    
    isGuestUser?: boolean

    If the given user is is a guest user. This is needed as guest users use a different API endpoint.

    false
    
    size?: 64 | 512

    Avatar image size. The backend only supports 64px and 512px.

    64