DivElement_v2 Op

DivElement

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



Full Name
  • Ops.Html.DivElement_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch div element

Place an interactive DIV element inside of the canvas which can be modified.
Open In Editor

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


Patches using DivElement_v2

  • Examples
  • Public
  • My Patches

Changelog


Ops.Html.DivElement2 renamed to Ops.Html.DivElement_v2user avatarpandur - 2019-06-12 12:34