i am new to ionic and app development. so i have a very simple question, but i could not find any answer in the docs.
i have a template file which contains text in a
element, i would like to change the text inside this element over a method which i call via a button.
how can i access the pre element inside the .ts file?