Search...
target
Sets or gets the target of the dashboard text button's link.
Description
Type:
string
Read & Write, default value is "_blank"|
nullRelated Content:
Was this helpful?
Get the dashboard text button's current target
Copy Code
1let target = $w('#myElement').target; // "_blank"
Set the dashboard text button's target
Copy Code
1$w('#myElement').target = "_self";
Reset the dashboard text button's target
Copy Code
1$w('#myElement').target = null; // Resets the target property to its default value of "_blank"