// openFileSample.js
import { LightningElement } from 'lwc';
import { NavigationMixin } from 'lightning/navigation';

export default class OpenFileSample extends NavigationMixin(LightningElement) {

    navigateToFiles() {
      this[NavigationMixin.Navigate]({
        type: 'standard__namedPage',
        attributes: {
            pageName: 'filePreview'
        },
        state : {
            recordIds: '069xx0000000001AAA,069xx000000000BAAQ',
            selectedRecordId:'069xx0000000001AAA'
        }
      })
    }
}