DivElement_v2 Op
There is a newer version of this op!
This version will not receive any updates. It is recommended to use a newer version.
Current version: Ops.Html.DivElement_v3
Create a html DIV element
Summary (oneliner)
Full Name
- Ops.Html.DivElement_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch div element
Place an interactive DIV element inside of the canvas which can be modified.
Youtube Video Tutorial
INPUT PORTS
Text (String)
text to display within the div
Id (String)
Unique ID of div
Class (String)
class to be accessed from CSS op
Style (Number:string )
write css styling for the div with the built in editor
Interactive (Number:boolean )
Allows interaction from mouse or touch screen
Visible (Number:boolean )
decides if the div is included in the css layout
Convert Line Breaks (Number:boolean )
convert line breaks in text string
Propagate Click-Events (Number:boolean )
OUTPUT PORTS
DOM Element (Object)
Hover (Number)
outputs a 1 if the mouse hovers over the div
Clicked (Trigger)
Triggers when clicked