Zaid-Ajaj/Feliz

CSS overflow-anchor property

Opened this issue · 1 comments

pw242 commented

I can't find the CSS overflow-anchor property anywhere.
https://www.w3schools.com/cssref/css_pr_overflow-anchor.php

Hello @pw242,

It indeed seems to be missing.

Would you like to try send a PR?

I believe you should be able to use textOverflow as a reference:

Feliz/Feliz/Styles.fs

Lines 3640 to 3650 in 1b7298e

[<Erase>]
type textOverflow =
/// Default value. The text is clipped and not accessible.
static member inline clip = Interop.mkStyle "textOverflow" "clip"
/// Render an ellipsis ("...") to represent the clipped text.
static member inline ellipsis = Interop.mkStyle "textOverflow" "ellipsis"
/// Render the given string to represent the clipped text.
static member inline custom(value: string) = Interop.mkStyle "textOverflow" value
static member inline initial = Interop.mkStyle "textOverflow" "initial"
/// Inherits this property from its parent element.
static member inline inheritFromParent = Interop.mkStyle "textOverflow" "inherit"