Disclosed herein are methods of connecting disrupted tissue, tissue repair, treating colorectal disorder and tissue welding. The methods comprise using a bioadhesive composition comprising ELP and light absorbing chromophores and irradiating the bioadhesive tissue.