Skip to content

Make CssRotateValue ect. to public #169

@garryxiao

Description

@garryxiao

Description

When I tried to get the angle value from CSS definition "transform: rotate(-45deg)". The code expected may be
var transform = css.GetProperty(PropertyNames.Transform); if (transform.RawValue is CssTupleValue<ICssValue> tt) { var rotateItem = tt.Items.FirstOrDefault(item => item is CssRotateValue) as CssRotateValue; }
But the CssRotateValue currently is internal. Maybe I am right, is there any alternative to do that?

Background

No response

Specification

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions