Exporting nodeOps and patchProp from runtime-dom package #6907
-
Hello, I am currently aiming to create a custom renderer based on the standard base renderer by replacing or wrapping some of the operations. I am talking about these files: (sorry for my average english...) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
nodeOps
andpatchProp
do not seem to have been exported from the historical commit records. They should not be open to developers because they only implement some functions such as element operations and attribute additions on the browser platform. They are passed as arguments tocreateRenderer
to create the renderer, if you want to implement a renderer based on a specific platform, you may need to implement these yourself. see:https://vuejs.org/api/custom-renderer.html#custom-renderer-api