salesforce - getting started - common terms



@track - is a decorate that make a variable  automatically refresh when its value changes

Handing UI events



On the javascript side of things



Bear tile component

This sections allow us to create a new custom component that is used in a parent component.

Lets say we are creating a component called beartile. Here is the javascript side of things :-



The html :-



Looking at the parent html :-




Also noticed that, it become c_bear_tile - where c is the default, somewhat predefined name for components and then as the upper case changes, then an underscore is introduced.


Loading style :-










Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type