fix(core): dom types and jsdoc tags (#10868)

This commit is contained in:
Ammar Ahmed
2025-10-02 00:09:57 +05:00
committed by GitHub
parent 48ac7fc7ee
commit 0eaad8e3b0
4 changed files with 15 additions and 8 deletions

View File

@@ -302,10 +302,6 @@ namespace SuspendType {
const DEFAULT_VIEW_PADDINGS: Map<string, any> = new Map();
/**
*
* @nsView ViewBase
*/
export abstract class ViewBase extends Observable {
/**
* String value used when hooking to loaded event.

View File

@@ -8,7 +8,7 @@ import { ShadowCSSValues } from '../../styling/css-shadow';
import { LinearGradient } from '../../styling/linear-gradient';
import { InheritedProperty, Property } from '../properties';
import { ViewBase } from '../view-base';
import { ViewCommon } from './view-common';
import { GlassEffectType, ViewCommon } from './view-common';
import type { Point } from './view-interfaces';
export * from './view-common';
@@ -47,8 +47,6 @@ export function viewMatchesModuleContext(view: View, context: ModuleContext, typ
/**
* This class is the base class for all UI components.
* A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within.
*
* @nsView View
*/
export abstract class View extends ViewCommon {
/**
@@ -232,6 +230,8 @@ export abstract class View extends ViewCommon {
/**
* If `true` the element is an accessibility element and all the children will be treated as a single selectable component.
*
* @nsProperty
*/
accessible: boolean;
@@ -289,6 +289,8 @@ export abstract class View extends ViewCommon {
/**
* When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property.
*
* @nsProperty
*/
accessibilityLiveRegion: AccessibilityLiveRegion;
@@ -610,6 +612,14 @@ export abstract class View extends ViewCommon {
*/
visionHoverStyle: string | VisionHoverOptions;
/**
* Set the iOS Liquid Glass effect style on the view
*
* @nsProperty
*/
iosGlassEffect: GlassEffectType;
/**
* @nsProperty
*/

View File

@@ -98,6 +98,7 @@ export abstract class ViewCommon extends ViewBase {
*/
public visionHoverStyle: string | VisionHoverOptions;
public visionIgnoreHoverStyle: boolean;
iosGlassEffect: GlassEffectType;
protected _closeModalCallback: Function;
public _manager: any;

View File

@@ -18,7 +18,7 @@ export class Slider extends View {
/**
* String value used when hooking to accessibilityDecrement event.
*
* @nsEvent {accessibilityDecrementEvent} accessibilityDecrement
* @nsEvent {AccessibilityDecrementEventData} accessibilityDecrement
*/
static readonly accessibilityDecrementEvent = 'accessibilityDecrement';