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