How to Create Snippet Options in Odoo | Odoo Snippets

Subscribers:
28,000
Published on ● Video Link: https://www.youtube.com/watch?v=xt_YDe8Qy1M



Category:
Guide
Duration: 7:51
1,737 views
7


Options enable publishers to edit a snippet’s look mistreatment the web site Builder’s UI. mistreatment web site Builder functionalities, you'll produce piece choices simply and mechanically add them to the UI.
Options cluster properties
Options are wrapped in teams. teams will have properties that outline however the enclosed choices can act with the computer programme.
data-selector="[css selector(s)]"
Bind all the choices enclosed into the cluster to a selected part.
data-js=" custom technique name "
is employed to bind custom Javascript strategies.
data-drop-in="[css selector(s)]"
Defines the list of components wherever the piece is born into.
data-drop-near="[css selector(s)]"
Defines the list of components that the piece is born beside.
Default option strategies
Options apply commonplace CSS categories to the piece. counting on the tactic that you just opt for, the UI can behave otherwise.
data-select-class="[class name]"
additional data-select-class within the same cluster defines a listing of categories that the user will opt to apply. just one possibility is enabled at a time.
data-toggle-class="[class name]"
The data-toggle-class is employed to use one or additional CSS categories from the list to a piece. Multiple alternatives are applied right away.

#odoo #odoosnippet







Tags:
in odoo how to create webpage by snippets
how to create theme module in odoo
how to create stages in odoo project
how to create and edit a new page in odoo
website snippets in odoo
blog post snippet page in odoo website
facebook snippet in odoo
products snippets in odoo
products page snippet in odoo
facebook post snippet in odoo
how to apply attrs attribute in odoo
product gallery snippet in odoo