Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Documentation needed for XML User Interface Widgets #255

@enchev

Description

@enchev

From @dskaggs on March 2, 2016 11:23

There is nowhere on the documentation site that I have found that provides documentation on the user interface widgets. The documentation should include at a minimum for every XML element:

  • Any required nesting (ie: this can only be inside an element
  • Complete list of attributes that can be used on the element (including OS-specific items)
  • Whether attributes are required or optional
  • List of acceptable values for each attribute (if applicable)
  • List of and links to child elements that can/must be included

Using the ActionBar and ActionItem as an example, there are some examples in the How-To article (https://docs.nativescript.org/ApiReference/ui/action-bar/HOW-TO) and information about the programmatic API it exposes (https://docs.nativescript.org/ApiReference/ui/action-bar/ActionItem), but nowhere is there comprehensive documentation of the XML widget.

Continuing with the ActionItem example, I have the XSD plugged into WebStorm to get a measure of tag/node completion help. Even so, it does not include things like ios.systemIcon or even tap. I had to find out about those things from examples spread all over various blogs and examples (see attached screenshot). In order for developers to be the most productive (especially when they are just coming to NativeScript), all this information needs to be presented in a central, easy to use place.

nativescript-webstorm

Copied from original issue: NativeScript/NativeScript#1685

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions