Search This Blog

Monday, May 25, 2020

SHAREPOINT FRAMEWORK - REACT JS alert on Page Load

Here is my code for getting alert on page load.
componentDidMount() {   
  alert("Hi");
}



public render(): React.ReactElement<IReactCrudProps> {   
    return ( 
        <select id="myDDl">

        </select>
    );
} 

No comments:

Post a Comment