@nextcloud/files
    Preparing search index...

    Interface IFileListFilterChip

    Active filters can provide one or more "chips" to show the currently active state. Must at least provide a text representing the filters state and a callback to unset that state (disable this filter).

    interface IFileListFilterChip {
        icon?: string;
        text: string;
        user?: string;
        onclick(): void;
    }
    Index

    Properties

    Methods

    Properties

    icon?: string

    Optional icon to be used on the chip (inline SVG as string)

    text: string

    Text of the chip

    user?: string

    Optional pass a user id to use a user avatar instead of an icon

    Methods