From e8c6bba6b86805f5f1a9bbf2e5ab41a2f79480c9 Mon Sep 17 00:00:00 2001 From: Yao yuchi Date: Thu, 23 Jun 2022 17:07:02 +0800 Subject: [PATCH] change version to 9 of pattern locker Signed-off-by: Yao yuchi --- api/@internal/component/ets/pattern_lock.d.ts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/api/@internal/component/ets/pattern_lock.d.ts b/api/@internal/component/ets/pattern_lock.d.ts index efc54d9d3b..1433f57130 100644 --- a/api/@internal/component/ets/pattern_lock.d.ts +++ b/api/@internal/component/ets/pattern_lock.d.ts @@ -15,7 +15,7 @@ /** * Provides methods for control pattern lock component. - * @since 8 + * @since 9 */ declare class PatternLockController { /** @@ -31,76 +31,76 @@ declare class PatternLockController { /** * Provides an interface for generating PatternLock. - * @since 8 + * @since 9 */ interface PatternLockInterface { (controller?: PatternLockController): PatternLockAttribute; } /** - * @since 8 + * @since 9 */ declare class PatternLockAttribute extends CommonMethod { /** * The square side length of pattern lock component. - * @since 8 + * @since 9 */ sideLength(value: Length): PatternLockAttribute; /** * Circle radius. - * @since 8 + * @since 9 */ circleRadius(value: Length): PatternLockAttribute; /** * The background color. - * @since 8 + * @since 9 */ backgroundColor(value: ResourceColor): PatternLockAttribute; /** * Regular color. - * @since 8 + * @since 9 */ regularColor(value: ResourceColor): PatternLockAttribute; /** * The color when cell is selected. - * @since 8 + * @since 9 */ selectedColor(value: ResourceColor): PatternLockAttribute; /** * The color when cell is active state. - * @since 8 + * @since 9 */ activeColor(value: ResourceColor): PatternLockAttribute; /** * The path line color. - * @since 8 + * @since 9 */ pathColor(value: ResourceColor): PatternLockAttribute; /** * The path line stroke width. - * @since 8 + * @since 9 */ pathStrokeWidth(value: number | string): PatternLockAttribute; /** * Called when the pattern input completed. - * @since 8 + * @since 9 */ onPatternComplete(callback: (input: Array) => void): PatternLockAttribute; /** * Called when judging whether the input state can be reset by touch pattern lock. - * @since 8 + * @since 9 */ autoReset(value: boolean): PatternLockAttribute; } declare const PatternLock: PatternLockInterface; -declare const PatternLockInstance: PatternLockAttribute; \ No newline at end of file +declare const PatternLockInstance: PatternLockAttribute; -- Gitee