Topic: Basic javascript question in relation to MDBoostrap components

Jensen pro asked 6 years ago


Hi,I am new to Angular (working with Angular 6) and to MdBootstrap.I have aquired MdbPRO for Angular but I am having challenges with invoking the methods and styles of the MdBoostrap directives. Somehow the javascript is not invoked.An example:
<select class=\"mdb-select\"> <option value=\"\" disabled selected>Choose your option</option> <option value=\"1\">Option 1</option> <option value=\"2\">Option 2</option> <option value=\"3\">Option 3</option></select><label>Example label</label>...With it\'s javascript initializer:
// Material Select Initialization$(document).ready(function() { $(\'.mdb-select\').material_select(); });
My challenges is that I simply don\'t know how to work with MdBootstrap directives from here on.(Normally I would add methods in a custom directive attached to the DOM element).Could some one point to a tutorial (I have been able to find one) concerned with this very basicissue.In advance my apologies for the basic nature of the question.Thanks in advance.
 

Jensen pro answered 6 years ago


I found my way through. Truely a great library. Thanks :-)

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: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags