From abeb832249b32193f25824c55ae4f0aa33434e5a Mon Sep 17 00:00:00 2001 From: wanglili12 Date: Fri, 2 Aug 2024 15:04:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=93=9D=E9=BB=84=E5=B7=AE=E5=BC=82=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=88=E4=BB=85=E7=A9=BA=E6=A0=BC=E5=92=8C=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E5=B7=AE=E5=BC=82=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wanglili12 Change-Id: I0702c4a2f5c248274e195592ee54ff16309f38d5 --- api/@internal/component/ets/particle.d.ts | 27 +++++++++++------------ api/arkui/FrameNode.d.ts | 6 ++--- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/api/@internal/component/ets/particle.d.ts b/api/@internal/component/ets/particle.d.ts index f4bdded0b..6052a9f89 100644 --- a/api/@internal/component/ets/particle.d.ts +++ b/api/@internal/component/ets/particle.d.ts @@ -355,7 +355,7 @@ interface EmitterProperty { * @atomicservice * @since 12 */ - index : number; + index: number; /** * Emitter emission rate. @@ -1224,7 +1224,7 @@ declare enum ParticleUpdater { CURVE = 'curve', } - /** +/** * Defines the SizeT type. * * @typedef { import('../api/arkui/Graphics').SizeT } @@ -1262,6 +1262,17 @@ declare type PositionT = import('../api/arkui/Graphics').PositionT; * @since 11 */ declare class ParticleAttribute extends CommonMethod { + /** + * Particle disturbance Field. + * + * @param { Array } fields - particle disturbance Field params. + * @returns { ParticleAttribute } Returns the particle attribute. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 12 + */ + disturbanceFields(fields: Array): ParticleAttribute; /** * Add particle animation component properties. @@ -1274,18 +1285,6 @@ declare class ParticleAttribute extends CommonMethod { * @since 12 */ emitter(value : Array) : ParticleAttribute; - - /** - * Particle disturbance Field. - * - * @param { Array } fields - particle disturbance Field params. - * @returns { ParticleAttribute } Returns the particle attribute. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 12 - */ - disturbanceFields(fields: Array): ParticleAttribute; } /** diff --git a/api/arkui/FrameNode.d.ts b/api/arkui/FrameNode.d.ts index 830edb344..959b6c7a9 100644 --- a/api/arkui/FrameNode.d.ts +++ b/api/arkui/FrameNode.d.ts @@ -44,7 +44,7 @@ declare interface LayoutConstraint { * @since 12 */ maxSize: Size; - + /** * MinSize * @@ -55,7 +55,7 @@ declare interface LayoutConstraint { * @since 12 */ minSize: Size; - + /** * PercentReference, if the size unit of the child nodes is percentage, then they use PercentReference to calculate * the px size. @@ -173,7 +173,7 @@ export class FrameNode { /** * Clear children of the current FrameNode. - * + * * @throws { BusinessError } 100021 - The FrameNode is not modifiable. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform