[web] Add trigger attribute so that event is recorded GitOrigin-RevId: 15e42297efca9d155442ed4aacbdbf1f4a35e074
layout-react