Replicate ui_button with ui_template

Dear all,

How can I get ui_button closely replicated by ui_template with same feature set?

My first idea was to carve out the <md-button> part from:

and copy it to a ui_template node. Certainly I did not expect this to work directly and so it did. For example, one of the challenges I see is the custom ui_template <md-card> built around the <md-button> with the class nr-dashboard-template instead of nr-dashboard-button. Is there any chance to solve this problem? Also I would like to define similar to the ui_button the icon, label, color, etc.

The motivation for this is to get the ui_button distinguishing normal/long press: Ui_button: distinguish normal and long push - #3 by Mortimer

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.