You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
This is not actually an issue. I think I found a better way to integrate this awesome plugin in my project and wanted to share. Sorry I couldn't find a a better place to post this. Tell me if there is one, and I will post it again.
I didn't like the "Usage" from Readme.md because 1) this way the code would not be packed in app.js and we would loose the great ST2 package system; 2) The css would not be generated with SASS, like the rest of the code.
I integrated this plugin in the following way:
Copied the files to touch/src/ux and renamed them:
Hi,
This is not actually an issue. I think I found a better way to integrate this awesome plugin in my project and wanted to share. Sorry I couldn't find a a better place to post this. Tell me if there is one, and I will post it again.
I didn't like the "Usage" from Readme.md because 1) this way the code would not be packed in app.js and we would loose the great ST2 package system; 2) The css would not be generated with SASS, like the rest of the code.
I integrated this plugin in the following way:
Copied the files to touch/src/ux and renamed them:
Ext.ux.TouchCalendarView.js -> <app_folder>/touch/src/ux/TouchCalendarView.js
Ext.ux.TouchCalendar.js -> <app_folder>/touch/src/ux/TouchCalendar.js
Ext.ux.TouchCalendarSimpleEvents.js -> <app_folder>/touch/src/ux/TouchCalendarSimpleEvents.js
Ext.ux.TouchCalendarEvents.js -> <app_folder>/touch/src/ux/TouchCalendarEvents.js
Copied the .scss to be included in my project
Ext.ux.TouchCalendarView.scss -> <app_folder>/resources/sass/include/_TouchCalendarView.scss
Ext.ux.TouchCalendarEvents.scss -> <app_folder>/resources/sass/include/_TouchCalendarEvents.scss
Ext.ux.TouchCalendarSimpleEvents.scss -> <app_folder>/resources/sass/include/_TouchCalendarSimpleEvents.scss
Used the plugin in my code like this:
In the view:
In app.scss:
Thanks!
Tiago
The text was updated successfully, but these errors were encountered: