Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ext.define('SycsApp.view.HotOffers', {
- extend: 'Ext.Panel',
- requires: ['Ext.carousel.Carousel', 'Ext.TitleBar'],
- config: {
- layout: 'card',
- items: [
- {
- docked: 'top',
- xtype: 'titlebar',
- ui: 'top-sub',
- title: 'Hot Offers',
- },
- {
- id: 'hotOffersCarousel',
- xtype: 'carousel',
- width: '100%',
- items: [
- {
- html : 'Item 1',
- style: 'background-color: #5E99CC'
- },
- {
- html : 'Item 2',
- style: 'background-color: #759E60'
- },
- {
- html : 'Item 3'
- }
- ]
- }
- ]
- }
- });
Add Comment
Please, Sign In to add comment