The new version of the cross-platform framework NativeScript supplements the integration of Kotlin with the front-end variant Kotlin / JS.Reading time:1 min.Save in pocketreadPrint viewread comments
Support for KotlinJS
Tabs, tabs, tabs
NativeScript 6.5 offers three new tab features. Developers can now access two new properties in the subcomponent
TabStripicon into code form so that users can define the resource file under res: // , the local file with ~ / and the font under font: // . The second property is
iconClasswith which users can specify the CSS class that they want to assign to the icon.
As a further innovation, developers can use
selectedItemColorand to change
unSelectedItemColorthe colors of selected and unselected symbols and the text in
TabStrip. This can be done, for example, using the following line of code:
<TabStrip selectedItemColor = "red" unSelectedItemColor = "green">
IOS developers can also take advantage of advanced styling options for tabs. Among other things, there is a new property for the arrangement of
TabStripand extended options for CSS styling.
The NativeScript blog offers a complete overview of the new features . The new version is installed as usual with the command
npm install -g nativescript.
More on heise Developer:
( bbo )