GithubHelp home page GithubHelp logo

jlooper / nativescript-snacks Goto Github PK

View Code? Open in Web Editor NEW
24.0 6.0 8.0 26.35 MB

๐Ÿ• Short snippets and videos to help users learn NativeScript

Home Page: http://www.nativescriptsnacks.com

HTML 32.17% CSS 62.54% JavaScript 5.29%

nativescript-snacks's Introduction

NativeScript Snacks

The gh-pages branch of this repo hosts NativeScriptSnacks.com, a website with short, snack-sized video content that helps users learn more about Telerik NativeScript.

You can find video content and code snippets, sorted by Angular 2 vs. "Vanilla" NativeScript content type. Look for the Angular badge for content specific to Angular 2.

If you'd like to contribute content, please use the 'contribute' link on the site.

PRs to NativeScript Snacks are welcome!

nativescript-snacks's People

Contributors

jlooper avatar kostasx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nativescript-snacks's Issues

Navigate to route after push notification is received in main.ts

Can somebody help me navigate after push notification is received??
I get "cannot read property 'navigate' of undefined"

This code is inside main.ts and there is no class or constructor to initialize variables:
`
import { RouterExtensions } from "nativescript-angular/router";

let router: RouterExtensions;
setTimeout(() => {

let firebase = require("nativescript-plugin-firebase");  

firebase.init({ 
    onPushTokenReceivedCallback: function(token) {             
        deviceToken = token;  
        console.log("Firebase push token: " + token);  
    },  
    onMessageReceivedCallback: (message) => {  
       // let router: RouterExtensions; //tried initializing it here but didnt work also
        
        let link = JSON.stringify(message.website);
        router.navigate(["webViewPage"],{
       clearHistory:true,
       transition: {
        name: "slideTop",
        duration: 800,
        curve: "spring"
        },
        queryParams:{"url": link}, 
        animated: true
  
      });
        
    }

..........
`

Splash Screen tutorial

It would be great to see a tutorial on creating a splash screen with nativescript and angular

Nativescript 3rd party libraries chart

right now im doing ERP project, so i need chart to give visual data to user, is it have any tutorial about how to use 3rd party chart plugin instead of chart from telerik

Add custom component to AbsoluteLayout at runtime

How can I a custom component to a to an absolutelayout, maybe by take event or by timer.

child component html

<StackLayout #bubble width="50" height="50" backgroundColor="red">
    <Label text="Hello" textWrap="true"></Label>
</StackLayout>

parent component

var childComponent = new ChildComponent();
myAbsoluteLayout.addChild(childComponent);

Nativescript Slider

Hi,

Could you do a tutorial on creating a Nativescript Slider in XML and capturing its value in Typescript? Also if possible to display the value of the Slider as you move it would be great. Thanks.

Push Notifications using nativescript-push-notifications

Hi, can someone post a Push notification app using nativescript-push-notifications, which is capable of receiving notification even when the app is stopped or suspended (All other case when the app is not is running state).

Multi Ask

Hello,
I'd like if you will help me in some issues:

  1. How to send sms without an app messenger
  2. How to login with google or Facebook accounts
  3. How to implement payment with google play pay or apple payment or PayPal, with authority check.

Thanks and I hope it will help to many others,
Yuval Aharoni

Markdown Rendering in NativeScript-Vue

Hey guys, I'm new to {N}-Vue, and now I have some question to ask

I tried using WebView to render a Markdown Content in {N}
But now, I would like to try another way to turn the Markdown Content into Native XML, and assign it into a variable, does anyone know how to implement it?

I tried the code below and it doesn't work

Imgur

drag and drop between 2 listview

I would be very happy in viewing a tutorial showing how to perform drag and drop items between two listtview on the same screen.
I did not succeed, nor with Pan Gesture and classic Listview, nor with RadListview.

Stephane

building notification system like facebook

am building nativescript angular social app so requires users adding other users and commenting on posts and sending messages etc
so i want to notify the user if any of this actions took place
need help asap

Maps integration

There are multiple solutions for using maps in NativeScript application (nativescript-googlemaps, dapriett google maps sdk plugin and mapbox)
I would like to see a demo where one of these solutions is shown with these features:

  • getting tapped location
  • adding multiple markers
  • dragging markers
  • typing in address and have that location shown selected on the map

Some app with calculation

I see is lack of examples in how to work with calculations, like a simple calculator or a split calc. Hope can make one.
Thanks Iรฑaki

Todo App Tutorial

Many developers find it easy to get started with new thing by learning how to create todo app.

It will be great if this is added, this should bring more developers joining in nativescript because currently no such simple yet complete tutorial is found.

Thanks

Complex Navigation - Navigation Best Practices

Hey,

I am trying to navigate correcly im my app, but for me there is a lot of things that is hard to understand what is the right way to do that.

for example route from page1 to page2, and then from page2 to page3 and then from page3 to page4 and then from page4 to page2 but make sure that page3 and page4 will be removed from the history.

again this is the scenario:
page1 -> page2
page2 -> page3
page3 -> page4
page4 -> page2

and in the end of this scenario that history will be page1/page2

What I am asking is what is the right way to do that? with or ? with childern? with Angular Route or with RouterExtension?

If there is a good tutorial that you familiar with I would be happy to get it. :)

Thank you very much,
Bar.

Less Angular

Most of the articles are based on Angular while less and less developers are using it. Please focus on plain javascript as it won't become outdated and unusable where as Angular is well on it's way there now.

ipad style popover

i would be very happy to see a tutorial on displaying a popover for a dropdown menu as shown in the image below.
ios-popover

Thanks in advance.

Sidemenu startup template like ionic 2

if the nativescript can try to simply stuff a little more like the way ionic do it would help us a lot of beginners like me please guys startup templates tabs , blank and side menu to make it easy to learn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.