setting beforeNativeContent, afterNativeContent values.