attach meta-data to element in inspector