diff --git a/api/@internal/component/ets/pattern_lock.d.ts b/api/@internal/component/ets/pattern_lock.d.ts index efc54d9d3befb2e7870797a861f381b60c217b2a..1433f57130638e27f799096a0ac49ed1abc5aba4 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;