Angular MultiView - Loop the Views
The MultiView UI component can display views in a loop. The loop mode enables an end user to swipe through the last view to the first and vice versa. To enable this mode, assign true to the loop property.
HTML
TypeScript
- <dx-multi-view
- [dataSource]="multiViewItems"
- [loop]="true">
- </dx-multi-view>
- import { DxMultiViewModule } from 'devextreme-angular';
- // ...
- export class AppComponent {
- multiViewItems = [
- { text: 'Personal Data' },
- { text: 'Contacts' }
- ];
- }
- @NgModule({
- imports: [
- // ...
- DxMultiViewModule
- ],
- // ...
- })
See Also
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.