toggle link types