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

The specified initialization vector (IV) does not match the block size for this algorithm