feat(ivy): render flags support in host bindings function (FW-649) (#27204)
PR Close #27204
This commit is contained in:

committed by
Misko Hevery

parent
bf71b107b3
commit
dc300c5c41
@ -72,9 +72,9 @@ export function InheritDefinitionFeature(definition: DirectiveDef<any>| Componen
|
||||
const superHostBindings = superDef.hostBindings;
|
||||
if (superHostBindings) {
|
||||
if (prevHostBindings) {
|
||||
definition.hostBindings = (directiveIndex: number, elementIndex: number) => {
|
||||
superHostBindings(directiveIndex, elementIndex);
|
||||
prevHostBindings(directiveIndex, elementIndex);
|
||||
definition.hostBindings = (rf: RenderFlags, ctx: any, elementIndex: number) => {
|
||||
superHostBindings(rf, ctx, elementIndex);
|
||||
prevHostBindings(rf, ctx, elementIndex);
|
||||
};
|
||||
(definition as any).hostVars += superDef.hostVars;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user