@@ -40,7 +40,10 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
40
40
title: " Shared Elements" ,
41
41
href: " https://docs.nativescript.org/guide/shared-element-transitions" ,
42
42
},
43
- { title: " Vue" , href: " https://nativescript-vue.org" },
43
+ {
44
+ title: " Vue" ,
45
+ href: " https://nativescript-vue.org" ,
46
+ },
44
47
],
45
48
videoUrl: " https://youtube.com/embed/hHqlEbU8o2o?si=7SgSCaNuqtRB9-ej" ,
46
49
videoTitle: " Spaceman using just Vue 3" ,
@@ -67,22 +70,84 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
67
70
id: 4 ,
68
71
title: " Reflective UI" ,
69
72
href: " https://stackblitz.com/edit/nativescript-reflective-ui?file=src%2Fapp%2Fitem%2Fitems.component.ts" ,
70
- description: " Using iOS AVCaptureSession to create live reflective UI mask. Try with your phone in Dark Mode, it's neat!" ,
71
- categories: [{ title: " iOS AVCaptureSession" , href: " https://developer.apple.com/documentation/avfoundation/avcapturesession?language=objc" }],
73
+ description:
74
+ " Using iOS AVCaptureSession to create live reflective UI mask. Try with your phone in Dark Mode, it's neat!" ,
75
+ categories: [
76
+ {
77
+ title: " iOS AVCaptureSession" ,
78
+ href: " https://developer.apple.com/documentation/avfoundation/avcapturesession?language=objc" ,
79
+ },
80
+ ],
72
81
videoUrl: " https://youtube.com/embed/rbF6mYfwnck" ,
73
82
videoTitle: " NativeScript Reflective UI" ,
74
83
},
75
84
{
76
85
id: 5 ,
86
+ title: " Day Night Switch" ,
87
+ hrefs: [
88
+ {
89
+ title: " Angular" ,
90
+ href: " https://stackblitz.com/edit/nativescript-daynightswitch-angular?file=src%2Fapp%2Fexample.component.html" ,
91
+ },
92
+ {
93
+ title: " React" ,
94
+ href: " https://stackblitz.com/edit/nativescript-daynightswitch-react?file=src%2Fcomponents%2FHome.tsx" ,
95
+ },
96
+ {
97
+ title: " Solid" ,
98
+ href: " https://stackblitz.com/edit/nativescript-daynightswitch-solid?file=src%2Fcomponents%2Fhome.tsx" ,
99
+ },
100
+ {
101
+ title: " Svelte" ,
102
+ href: " https://stackblitz.com/edit/nativescript-daynightswitch-svelte?file=src%2Fcomponents%2FHome.svelte" ,
103
+ },
104
+ {
105
+ title: " Vue" ,
106
+ href: " https://stackblitz.com/edit/nativescript-daynightswitch-vue?file=src%2Fcomponents%2FHome.vue" ,
107
+ },
108
+ ],
109
+ description: " Custom NativeScript Day/Night Switch." ,
110
+ categories: [
111
+ {
112
+ title: " Angular" ,
113
+ href: " https://angular.dev" ,
114
+ },
115
+ {
116
+ title: " React" ,
117
+ href: " https://react.dev" ,
118
+ },
119
+ {
120
+ title: " Solid" ,
121
+ href: " https://www.solidjs.com" ,
122
+ },
123
+ {
124
+ title: " Svelte" ,
125
+ href: " https://svelte.dev" ,
126
+ },
127
+ {
128
+ title: " Vue" ,
129
+ href: " https://vuejs.org" ,
130
+ },
131
+ ],
132
+ videoUrl: " https://youtube.com/embed/8kb7ObVOJIg?feature=share" ,
133
+ videoTitle: " Day Night Switch" ,
134
+ },
135
+ {
136
+ id: 6 ,
77
137
title: " Tetris Game with Vue 3" ,
78
138
href: " https://stackblitz.com/edit/ns-tetris?file=src%2Fcomponents%2FHome.vue" ,
79
139
description: " Tetris Game with Vue 3." ,
80
- categories: [{ title: " Vue" , href: " https://nativescript-vue.org" }],
140
+ categories: [
141
+ {
142
+ title: " Vue" ,
143
+ href: " https://nativescript-vue.org" ,
144
+ },
145
+ ],
81
146
videoUrl: " https://youtube.com/embed/To_bycK6BGY" ,
82
147
videoTitle: " A Tetris Game built with Vue 3" ,
83
148
},
84
149
{
85
- id: 6 ,
150
+ id: 7 ,
86
151
title: " iOS Recognize Text from an Image" ,
87
152
href: " https://stackblitz.com/edit/nativescript-text-from-image?file=src%2Fapp%2Fhome%2Fhome.component.ts" ,
88
153
description: " Recognizing text from an Image on iOS." ,
@@ -100,7 +165,7 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
100
165
videoTitle: " iOS Recognize Text from an Image" ,
101
166
},
102
167
{
103
- id: 7 ,
168
+ id: 8 ,
104
169
title: " iOS PDFKit" ,
105
170
href: " https://stackblitz.com/edit/nativescript-pdfview-via-ios-pdfkit?file=src%2Fapp%2Fnative-pdfview%2Fnative-pdfview.ts" ,
106
171
description: " Generating and previewing PDFs using iOS PDFKit." ,
@@ -118,7 +183,7 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
118
183
videoTitle: " iOS PDFKit" ,
119
184
},
120
185
{
121
- id: 8 ,
186
+ id: 9 ,
122
187
title: " PDF w/ WKWebView & AndroidPdfViewer" ,
123
188
href: " https://stackblitz.com/edit/nativescript-pdfviewer?file=src%2Fapp%2Fnative-pdfview%2Findex.ios.ts" ,
124
189
description: " Rendering PDF with WKWebView on iOS." ,
@@ -138,7 +203,7 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
138
203
],
139
204
},
140
205
{
141
- id: 9 ,
206
+ id: 10 ,
142
207
title: " Autogrow Textfield" ,
143
208
href: " https://stackblitz.com/edit/nativescript-ng-textview-autogrow-vs-textfield?file=src%2Fapp%2Fitem%2Fitems.component.html" ,
144
209
description: " Autogrowing Textfield as you type." ,
@@ -147,11 +212,14 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
147
212
title: " Angular" ,
148
213
href: " https://docs.nativescript.org/tutorials/build-a-master-detail-app-with-angular" ,
149
214
},
150
- { title: " TextView" , href: " https://docs.nativescript.org/ui/text-view" },
215
+ {
216
+ title: " TextView" ,
217
+ href: " https://docs.nativescript.org/ui/text-view" ,
218
+ },
151
219
],
152
220
},
153
221
{
154
- id: 10 ,
222
+ id: 11 ,
155
223
title: " Text to Speech" ,
156
224
href: " https://stackblitz.com/edit/nativescript-text-to-speech?file=src%2Fapp%2Fspeech%2Findex.ios.ts" ,
157
225
description: " Simple Text to Speech." ,
@@ -167,7 +235,7 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
167
235
],
168
236
},
169
237
{
170
- id: 11 ,
238
+ id: 12 ,
171
239
title: " Battery Level Check" ,
172
240
href: " https://stackblitz.com/edit/nativescript-battery-level-check?file=app%2Fbattery%2Findex.ios.ts" ,
173
241
description: " Getting the current battery level." ,
@@ -183,7 +251,7 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
183
251
],
184
252
},
185
253
{
186
- id: 12 ,
254
+ id: 13 ,
187
255
title: " Toggle Device Light" ,
188
256
href: " https://stackblitz.com/edit/nativescript-torch?file=src%2Fapp%2Ftorch%2Findex.ios.ts" ,
189
257
description: " Toggling the Device Light on and off." ,
@@ -199,16 +267,19 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
199
267
],
200
268
},
201
269
{
202
- id: 13 ,
270
+ id: 14 ,
203
271
title: " Using local image assets" ,
204
272
href: " https://stackblitz.com/edit/nativescript-local-image-asset?file=package.json,src%2Fapp%2Fitem%2Fitems.component.html" ,
205
273
description: " Using local image assets." ,
206
274
categories: [
207
- { title: " Image" , href: " https://docs.nativescript.org/ui/image" },
275
+ {
276
+ title: " Image" ,
277
+ href: " https://docs.nativescript.org/ui/image" ,
278
+ },
208
279
],
209
280
},
210
281
{
211
- id: 14 ,
282
+ id: 15 ,
212
283
title: " Checkbox" ,
213
284
href: " https://stackblitz.com/edit/nativescript-checkbox-example?file=src%2Fapp%2Fitem%2Fitems.component.html" ,
214
285
description: " Using checkbox components." ,
@@ -220,7 +291,7 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
220
291
],
221
292
},
222
293
{
223
- id: 15 ,
294
+ id: 16 ,
224
295
title: " Dropdown Menus" ,
225
296
href: " https://stackblitz.com/edit/nativescript-dropdown-menus?file=src%2Fapp%2Fmenu-button%2Findex.ios.ts" ,
226
297
description: " Using dropdown menus." ,
@@ -238,10 +309,11 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
238
309
videoTitle: " Using dropdown menus with NativeScript" ,
239
310
},
240
311
{
241
- id: 16 ,
312
+ id: 17 ,
242
313
title: " Large Title Display on iOS" ,
243
314
href: " https://stackblitz.com/edit/nativescript-ios-large-titles-angular?file=src%2Fapp%2Fitem%2Fitems.component.ts" ,
244
- description: " How to enable large title displays for iOS navigation with NativeScript using prefersLargeTitles property of UINavigationBar, accessible from every Frame." ,
315
+ description:
316
+ " How to enable large title displays for iOS navigation with NativeScript using prefersLargeTitles property of UINavigationBar, accessible from every Frame." ,
245
317
categories: [
246
318
{
247
319
title: " iOS prefersLargeTitles" ,
@@ -252,10 +324,11 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
252
324
videoTitle: " Enable large title displays for iOS Navigation" ,
253
325
},
254
326
{
255
- id: 17 ,
327
+ id: 18 ,
256
328
title: " Hardware device volume" ,
257
329
href: " https://stackblitz.com/edit/nativescript-device-volume?file=src%2Futils%2Fvolume.ts" ,
258
- description: " How to get the current device volume using NativeScript on iOS and Android." ,
330
+ description:
331
+ " How to get the current device volume using NativeScript on iOS and Android." ,
259
332
categories: [
260
333
{
261
334
title: " iOS outputVolume" ,
@@ -265,16 +338,20 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
265
338
title: " Android getStreamVolume" ,
266
339
href: " https://developer.android.com/reference/android/media/AudioManager#getStreamVolume(int)" ,
267
340
},
268
- { title: " Vue" , href: " https://nativescript-vue.org" },
341
+ {
342
+ title: " Vue" ,
343
+ href: " https://nativescript-vue.org" ,
344
+ },
269
345
],
270
346
videoUrl: " https://youtube.com/embed/1DR_9AZrMe4" ,
271
347
videoTitle: " Adjusting hardware device volume with NativeScript" ,
272
348
},
273
349
{
274
- id: 18 ,
350
+ id: 19 ,
275
351
title: " Top Bar Height" ,
276
352
href: " https://stackblitz.com/edit/nativescript-topbar-height?file=src%2Fapp%2Futils%2Fdevice.ts" ,
277
- description: " How to check the top bar height with NativeScript on iOS and Android." ,
353
+ description:
354
+ " How to check the top bar height with NativeScript on iOS and Android." ,
278
355
categories: [
279
356
{
280
357
title: " iOS statusBarManager" ,
@@ -288,16 +365,20 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
288
365
title: " Android Resources" ,
289
366
href: " https://developer.android.com/guide/topics/resources/providing-resources" ,
290
367
},
291
- { title: " Android bar height id" , href: " https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/dimens_material.xml#39" },
368
+ {
369
+ title: " Android bar height id" ,
370
+ href: " https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/dimens_material.xml#39" ,
371
+ },
292
372
],
293
373
videoUrl: " https://youtube.com/embed/bXSyBTGJIlc" ,
294
374
videoTitle: " Top Bar Height with NativeScript" ,
295
375
},
296
376
{
297
- id: 19 ,
377
+ id: 20 ,
298
378
title: " iOS Spotlight Search" ,
299
379
href: " https://stackblitz.com/edit/nativescript-ios-spotlight-search?file=src%2Fapp%2Fitem%2Fitem.service.ts" ,
300
- description: " How to allow app content to be searchable using iOS Core Spotlight." ,
380
+ description:
381
+ " How to allow app content to be searchable using iOS Core Spotlight." ,
301
382
categories: [
302
383
{
303
384
title: " iOS Core Spotlight" ,
@@ -308,7 +389,7 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
308
389
videoTitle: " Use iOS Spotlight Search with NativeScript" ,
309
390
},
310
391
{
311
- id: 20 ,
392
+ id: 21 ,
312
393
title: " Improve UX with NativeScript TouchManager" ,
313
394
href: " https://stackblitz.com/edit/nativescript-touchmanager?file=src%2Fapp%2Futils.ts" ,
314
395
description: " Instantly improve UX with NativeScript's TouchManager." ,
@@ -322,40 +403,21 @@ Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages t
322
403
videoTitle: " Instantly improve UX with NativeScript's TouchManager" ,
323
404
},
324
405
{
325
- id: 21 ,
406
+ id: 22 ,
326
407
title: " Tab Navigation with iOS and Android" ,
327
408
href: " https://stackblitz.com/edit/nativescript-tab-nav-ng?file=src%2Fapp%2Ffeatures%2Fhome%2Fcomponents%2Fhome.component.html" ,
328
- description: " Example of how to configure tab navigation with lots of options." ,
409
+ description:
410
+ " Example of how to configure tab navigation with lots of options." ,
329
411
categories: [
330
412
{
331
413
title: " Angular" ,
332
414
href: " https://angular.dev" ,
333
415
},
334
416
],
335
417
videoUrl: " https://youtube.com/embed/-FPEdFE1XeM" ,
336
- videoTitle: " Example of how to configure tab navigation with lots of options." ,
418
+ videoTitle:
419
+ " Example of how to configure tab navigation with lots of options." ,
337
420
},
338
- // Not ready yet but will discuss with Dylan to update
339
- // {
340
- // id: 15,
341
- // title: 'RxDB Angular Lokijs',
342
- // href: 'https://stackblitz.com/edit/nativescript-angular-rxdb-lokijs-demo-9ha1fc?file=src%2Fapp%2Fcomponents%2Fhero.component.ts',
343
- // description: 'Using RxDB Angular Lokijs.',
344
- // categories: [
345
- // {
346
- // title: 'Angular',
347
- // href: 'https://docs.nativescript.org/tutorials/build-a-master-detail-app-with-angular'
348
- // },
349
- // {
350
- // title: 'RxDB',
351
- // href: 'https://rxdb.info/'
352
- // },
353
- // {
354
- // title: 'LokiJS',
355
- // href: 'https://github.com/techfort/LokiJS'
356
- // }
357
- // ],
358
- // },
359
421
];
360
422
361
423
</script >
0 commit comments