Topic: What does "mdbActive" do?

lukas.koch free asked 7 years ago


Hello,I`ve wondered what the "mdbActive" in the following code does... can somebody explain it to me please? :)

<div class="md-form"> 
<input mdbActive type="text" id="form1" class="form-control"> 
<label for="form1" class="">Example label</label>
</div>

best regards,Lukas


Adrian Sawicki free answered 7 years ago


mdbActive is a directive which let your input label go up if you click on your input or just write something in it.

lukas.koch free commented 7 years ago

thank you for your quick answer! :)

gaurav soni pro commented 6 years ago

In your example on "https://mdbootstrap.com/components/inputs/#input-fields" , you have not mentioed mdbactive , how does the label go up ?

Damian Gemza staff commented 6 years ago

Hello guarav soni, You have pasted an jquery example. There's no mdbActive directive. This directive is used only in MDB Angular. Best Regards, Damian


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

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