[btn et_build:^(id<EventTracingLogNodeBuilder> _Nonnull builder) {
builder.params.set(@"key", @"value");
}];
[btn et_build:^(id<EventTracingLogNodeBuilder> _Nonnull builder) {
builder
.params
.set(@"xxx", @"xxx");
}];
@protocol EvevntTracingLogNodeDynamicParamsBuilder <NSObject>
@optional
- (void)et_makeDynamicParams:(id <EventTracingLogNodeParamsBuilder>)builder;
@end
[[EventTracingLogBuilder view:btn elementId:@"oid_btn"] build:^(id<EventTracingLogNodeBuilder> _Nonnull builder) {
builder
.addCallbackParams(^(id<EventTracingLogNodeParamsBuilder> _Nonnull params) {
params.set(@"callback_p_key_0", @"callback_p_value_0");
});
}];
[EventTracingLogBuilder logWithView:sender event:^(id<EventTracingLogNodeEventActionBuilder> _Nonnull builder) {
builder.ec()
.set(@"key1", @"value1");
}];
[[EventTracingLogBuilder view:self.setOffsetBtn elementId:@"SetOffset"] build:^(id<EventTracingLogNodeBuilder> _Nonnull builder) {
builder
.addCallbackParams(^(id<EventTracingLogNodeParamsBuilder> _Nonnull params) {
params.set(@"callback_p_key_0", @"callback_p_value_0");
})
.addCallbackParamsForEvents(@[@"_ec", @"_ed"], ^(id<EventTracingLogNodeParamsBuilder> _Nonnull params) {
params.set(@"callback_p_key_1", @"callback_p_value_1");
})
.addClickCallbackParams(^(id<EventTracingLogNodeParamsBuilder> _Nonnull params) {
params.set(@"callback_p_key_2", @"callback_p_value_2");
});
}];