aDesign aIntroduction ·“Air” ·Styles aMobile ·Design Principles ·Styles ·UX Overview ·Design Patterns ·UI Components for Tizen App Design ·2.3 aTV ·Design Principles ·Styles ·UX Overview ·Patterns ·UI Components ·Wearable aDevelopment aTizen Studo ·Overview ·Download ·Tizen Extensions for Visual Studio Family ·IoT extension SDK ·Docs aBlog aBlog ·Announcing the Tizen Studio 3.7 Release ·Announcing the Tizen Studio 3.1 Release aCommunity aForums ·General Support ·Tizen .NET ·Web Application Development ·Native Application Development ·SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studo Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
TAU setNSData do not work…
I want to change button’s Icon to top.. and make code two ways…
jQuery Code do work good.. but tau setNSData do not work…
jQuery Code
$(“#button1”).button(“option”, “iconpos”, “top”);
$(“#button1”).button(“refresh”);
TAU Code
var button1Element = document.getElementById(“button1”);
var button1 = tau.widget.Button(button1Element);
tau.util.DOM.setNSData( button1Element, “iconpos”, “top” ); // or (tau.util.DOM.setAttribute( button1Element, “data-iconpos”, “top” );
button1.refresh();
There is no script error!!.. but jQuery can move Icon to top. but Tau can’t do it..
I debug it and i find the button1’s attribute’ change works good.. but button1’s class’ is not changed… what is tau’s formal way?
Anyone who know…
Thanks..
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio
BY
30 Oct 2023
Tizen Studio