Вы находитесь на странице справочной информации о версии:
- 6.4
- 6.3
- Предыдущие версии
You can customize the gestures of AEM Forms app to provide a distinct method of interacting with the app. For example, you can add new gestures to open or close a task or Startpoint.
In the AEM Forms app, the left swipe opens up a new task or Startpoint while right swipe does nothing. The following example provides steps to open up a new task or Startpoint on performing the right-swipe gestures in the AEM Forms app.
-
Navigate to the views folder and open the task.js file for editing.
- In Xcode, navigate to the Capture > www > wsmobile > js > runtime > views folder.
- In Eclipse, navigate to the assets > www > wsmobile > js > runtime > views folder.
- In Visual Studio, navigate to the MWSWindows > www > wsmobile > js > runtime > views folder.
Примечание.
The task.js file contains the backbone view associated with each task or Startpoint listed in the task or Startpoint lists.
-
Find
- "tap .taskContentArea" : "onTaskClick",
"tap .taskOpenArea" : "onTaskClick",
"tap .task-content" : "onTaskClick",
"tap .last_empty_div" : "onTaskClick",
and replace with
- "swipe .taskContentArea" : "onTaskClick",
"swipe .taskOpenArea" : "onTaskClick",
"swipe .task-content" : "onTaskClick",
"swipe .last_empty_div" : "onTaskClick",
- "tap .taskContentArea" : "onTaskClick",
Similarly, you can make changes in other views for various combinations of gestures, HTML elements, and functions.
На посты, размещаемые в Twitter™ и Facebook, условия Creative Commons не распространяются.
Правовые уведомления | Политика конфиденциальности в сети Интернет