JsFA

Introduction

This sample describes how to develop a Feature Ability (FA) application with JavaScript.

Different from the Hello World template, this sample app has a complex layout, styles, and logic. The actual effect is as follows:

Relevant concepts

FA is used to show the page layout of an application.

Permission

Don't involve.

Usage

On the app page, you can select a food image by moving the focus to one of the circles of different colors. You can also add food to the cart.

Constraints

1.This sample can only be run on standard-system devices.

2.This example requires the DevEco Studio 3.0 Beta3 (Build Version: 3.0.0.901, built on May 30, 2022) to compile and run.