CSSPropertyString Op
Modify a css property of an element with a string
Summary (oneliner)
Example : margin : 10px 5px 10px 5px
Check the example patch for a clear example on how to concatenate strings together.
Full Name
- Ops.Html.CSS.CSSPropertyString
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
Element
Element (Object)
Parent element to modify
Attributes
Property (String)
Property to modify
Value (String)
String value in
Active (Number:boolean )
OUTPUT PORTS
HTML Element (Object)
Patches using CSSPropertyString
Changelog
new | created op | andro - 2020-07-13 18:31 |
improvement | Added active toggle to temporary remove property from element | pandur - 2024-07-24 16:02 |
bugfix | Fix problem with element propery not updating correctly in some cases | pandur - 2024-10-28 15:06 |
rename | Ops.Html.CSSPropertyString renamed to Ops.Html.CSS.CSSPropertyString | pandur - 2024-10-30 08:38 |