OnRegisterRanges
Deprecated
Deprecated: Please avoid using this annotation and it will be not supported in the future release
The method annotated with this annotation will be called to register working ranges for the LayoutSpec.
For example
@LayoutSpec
public class ComponentSpec {
@OnRegisterRanges
static void registerWorkingRanges(
ComponentContext c,@Prop WorkingRange workingRange) {
}
}
Content copied to clipboard