Get a single URL parameter (from the "location.search", before "#")
key name
getUrlParam('key1')// key1 => xxxgetUrlParam('key1', 'https://test.com?key1=100#/home?key1=200')// key1 => 100 Copy
getUrlParam('key1')// key1 => xxxgetUrlParam('key1', 'https://test.com?key1=100#/home?key1=200')// key1 => 100
5.0.0
pass in the url string
Get a single URL parameter (from the "location.search", before "#")