How to edit label text in Wix Code?

WixCode doesn’t use labels??
the ID is found in the elements Properties in the editor.
the code to change text for a Text element is

$w('#elementID').text = string


Unless the page is on an HTML element embedded?