The vial tilting method is utilized to determine the gelation time. In short, a solution of 4-arm-PEG-Mal and chitosan-SH hydrogel precursors in pH 7.4 PBS is prepared separately. Upon combining both solutions and quickly vibrating them at room temperature, the hydrogels are formed. The gel state is achieved if no flow is observed within a minute upon inverting the vial.