* Shared helper method for applying glass effects to views. * This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) * iOS only at the moment but could be applied to others once supported in other platforms. * * @param value - The glass effect configurat
(
value: GlassEffectType,
options: {
effectType: 'glass' | 'container';
targetView?: UIVisualEffectView;
toGlassStyleFn?: (variant?: GlassEffectVariant) => number;
onCreate?: (effectView: UIVisualEffectView, effect: UIVisualEffect) => void;
onUpdate?: (effectView: UIVisualEffectView, effect: UIVisualEffect, duration: number) => void;
},
)
| 1280 | * @param options.onUpdate - Callback when an existing effect view is updated |
| 1281 | */ |
| 1282 | protected _applyGlassEffect( |
| 1283 | value: GlassEffectType, |
| 1284 | options: { |
| 1285 | effectType: 'glass' | 'container'; |
| 1286 | targetView?: UIVisualEffectView; |
| 1287 | toGlassStyleFn?: (variant?: GlassEffectVariant) => number; |
| 1288 | onCreate?: (effectView: UIVisualEffectView, effect: UIVisualEffect) => void; |
| 1289 | onUpdate?: (effectView: UIVisualEffectView, effect: UIVisualEffect, duration: number) => void; |
| 1290 | }, |
| 1291 | ): UIVisualEffectView | undefined { |
| 1292 | return undefined; |
| 1293 | } |
| 1294 | |
| 1295 | public sendAccessibilityEvent(options: Partial<AccessibilityEventOptions>): void { |
| 1296 | return; |
nothing calls this directly
no outgoing calls
no test coverage detected