NativeScript / NativeScript/nativescript-cli

Tablet support in nativescript shared project with angular i.e component.tablet.tns.ts

Open
#4,618 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

Code Sharing is one of the most powerful feature developed by Nativescript team
in some cases when we are managing our web app with android and ios apps from one code base its very useful to have tablet support in it
For know we have to manage this using ngif but its not the best way i guess
Its very very useful for large scale applications please guide me about it

component.tablet.tns.ts
component.tablet.tns.html
component.tablet.tns.scss

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the issue's proposed files: component.tablet.tns.ts, component.tablet.tns.html, and component.tablet.tns.scss, along with how the NativeScript shared project handles Angular components. Clarify the expected tablet behavior and platform-selection mechanism with maintainers. Done should mean tablet-specific code can be selected without relying on application-level ngIf workarounds.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.