Skip to content

Button ​

The Button component represents a clickable area.

Properties ​

  • HTMLElement

  • Element tag: cm4ap-button

Parameter ​

Parameters in the Layout ​

NameTypeDescription
raisedboolean
default: false
Defines whether Button is displayed raised.
primaryboolean
default: false
Defines whether Button is primary coloured.
noAnimationboolean
default: false
Defines whether button is animated.

Example ​

xml

<layout>
  <!-- other stuff -->

  <elements>
    <!-- other stuff -->
    
    <component component="cm4ap-button">
      <parameter>
        <entry class="attribute" key="raised">true</entry>
        <entry class="attribute" key="primary">true</entry>
        <entry class="attribute" key="class">hidden</entry>
      </parameter>
      <children>
        <component component="cm4ap-label">
          <parameter>
            <entry key="key">L-GLOBAL-ADMIN-APP_MANAGEMENT-DETAIL-GO_TO_MARKETPLACE</entry>
          </parameter>
        </component>
      </children>
    </component>
    
  </elements>
  
</layout>
Request missing documentation