feat: support v-bind .prop & .attr modifiers
Also allows render function usage like the following:
```js
h({
'.prop': 1, // force set as property
'^attr': 'foo' // force set as attribute
})
```
This commit is contained in:
@@ -221,6 +221,7 @@ export interface SimpleExpressionNode extends Node {
|
||||
* the identifiers declared inside the function body.
|
||||
*/
|
||||
identifiers?: string[]
|
||||
isHandlerKey?: boolean
|
||||
}
|
||||
|
||||
export interface InterpolationNode extends Node {
|
||||
@@ -243,6 +244,7 @@ export interface CompoundExpressionNode extends Node {
|
||||
* the identifiers declared inside the function body.
|
||||
*/
|
||||
identifiers?: string[]
|
||||
isHandlerKey?: boolean
|
||||
}
|
||||
|
||||
export interface IfNode extends Node {
|
||||
|
||||
Reference in New Issue
Block a user