Topic: Different tag <mdb> to <something>

aganeto free asked 5 years ago


I would like to use use a specific html tag instead of

for example: would be

How can I do it ? Thx


Arkadiusz Idzikowski staff commented 5 years ago

Please add more details to your question.

You can always create your custom component and add our component to it's template. Then you can use your custom selector to render the component.


aganeto free commented 5 years ago

<!--Title-->
<mdb-card-title>
  <h4>Card Title</h4>
</mdb-card-title>

<!--Text-->
<mdb-card-text> Some quick example text to build on the card title and make up the bulk of the card's
  content.
</mdb-card-text>

<a href="#" mdbBtn color="primary" mdbWavesEffect>Button</a>

for example here. If I want to call the tag my-card instead of mdb-card


Arkadiusz Idzikowski staff answered 5 years ago


In this case you need to create new my-card component and then copy our html code to its html template (which will be probably named my-card.component.html).



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.4.0
  • Device: all
  • Browser: all
  • OS: all
  • Provided sample code: No
  • Provided link: No