What does mdbActive do?


Topic: What does "mdbActive" do?

Haywhite 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


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

Haywhite commented 7 years ago

thank you for your quick answer! :)

gaurav soni pro commented 7 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 7 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
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No