NativeScript UI widgets

Thread is closed for posting
6 posts, 0 answers
  1. Matthew Giles
    Matthew Giles avatar
    8 posts
    Member since:
    Feb 2005

    Posted 14 Apr 2015 Link to this post

    Hello,

    I see on your roadmap that a datepicker is planned for v1.0 release in May.  I also see https://github.com/NativeScript/cross-platform-modules/tree/master/ui/date-picker.  Is it possible to use the datepicker already in my app, or must I wait for the official 1.0 release?



    Thanks!

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 15 Apr 2015 Link to this post

    Hi,

    You do not have to wait for the official release - the date picker is fully functional in the master branch.

    Regards,
    Vlad
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. Matthew Giles
    Matthew Giles avatar
    8 posts
    Member since:
    Feb 2005

    Posted 16 Apr 2015 in reply to Vlad Link to this post

    Thanks! I am using VS with the AppBuilder extension.  In order to include a new module in my project, is it as simple as pull the ui/datepicker folder, include it in my project under tns_modules, and compile the typescript to javascript?  Then how do I use it in the xml layout to create a datepicker?
  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 16 Apr 2015 Link to this post

    Hi,

    It will be better to replace the entire tns_modules folder. I'm attaching our latest build. Here is an example how to declare it:

    <DatePicker year="2015" month="4" day="16" />


    Regards,
    Vlad
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  5. Matthew Giles
    Matthew Giles avatar
    8 posts
    Member since:
    Feb 2005

    Posted 16 Apr 2015 in reply to Vlad Link to this post

    Thanks, I merged in those modules and definitions.  Now css is not being applied.  I'm putting in a ticket so I can upload my project.
  6. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 17 Apr 2015 Link to this post

    Hello Matthew,

    I saw your ticket and the problem. Unfortunately you are right, because of our project structure changes in attempt to provide equal project structure for both NativeScript CLI and AppBuilder, you will unable to use latest modules from master with the current official AppBuilder. 

    Please accept my sincere apologies! The new version of AppBuilder is expected after a week!

    Regards,
    Vlad
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top