mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 09:22:53 +00:00
commit
ab5b9a5f29
27
api/@internal/component/ets/particle.d.ts
vendored
27
api/@internal/component/ets/particle.d.ts
vendored
@ -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<T> }
|
||||
@ -1262,6 +1262,17 @@ declare type PositionT<T> = import('../api/arkui/Graphics').PositionT<T>;
|
||||
* @since 11
|
||||
*/
|
||||
declare class ParticleAttribute extends CommonMethod<ParticleAttribute> {
|
||||
/**
|
||||
* Particle disturbance Field.
|
||||
*
|
||||
* @param { Array<DisturbanceFieldOptions> } fields - particle disturbance Field params.
|
||||
* @returns { ParticleAttribute } Returns the particle attribute.
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
disturbanceFields(fields: Array<DisturbanceFieldOptions>): ParticleAttribute;
|
||||
|
||||
/**
|
||||
* Add particle animation component properties.
|
||||
@ -1274,18 +1285,6 @@ declare class ParticleAttribute extends CommonMethod<ParticleAttribute> {
|
||||
* @since 12
|
||||
*/
|
||||
emitter(value : Array<EmitterProperty>) : ParticleAttribute;
|
||||
|
||||
/**
|
||||
* Particle disturbance Field.
|
||||
*
|
||||
* @param { Array<DisturbanceFieldOptions> } fields - particle disturbance Field params.
|
||||
* @returns { ParticleAttribute } Returns the particle attribute.
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
disturbanceFields(fields: Array<DisturbanceFieldOptions>): ParticleAttribute;
|
||||
}
|
||||
|
||||
/**
|
||||
|
6
api/arkui/FrameNode.d.ts
vendored
6
api/arkui/FrameNode.d.ts
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user