Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

TextButtonBarItem

Displays a clickable text inside a NavigationBar slot. More...

Import Statement: import Felgo 4.0
Since: Felgo 2.9.2
Inherits:

ButtonBarItem

Properties

Detailed Description

This item can be used to display text inside the left or right NavigationBar slot. It optionally also acts as a button that can be clicked by the user. If you do not want the text to be clickable, set enabled to false.

iOS Android

Example Usage

 import Felgo

 App {
   NavigationStack {

     AppPage {
       title: "Example"
       rightBarItem: TextButtonBarItem {
         text: "Click Me!"
         onClicked: console.log("Text Clicked")
       }
     }

   }
 }

Property Documentation

color : color

The color of the text. The default is Theme.navigationBar.itemColor if TextButtonBarItem is enabled, Theme.navigationBar.titleColor otherwise.


text : string

The text to be displayed.


textItem : AppText

The text item that shows the text.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded