If you are using a JavaScript framework, such as React or Angular, you can create a Floating Label for your framework. Proxies to the foundation's getWidth() method. Proxies to the foundation's setRequired() method. Proxies to the foundation's float() method. Proxies to the foundation's shake() method. MDCFloatingLabel Properties and Methods Method Signature Used in conjunction with the shake-animation mixin.Īpplies shake keyframe animation to label.įloat-position($positionY, $positionX, $scale)įloat-transition($duration-ms, $timing-function)Ĭustomizes the duration and optional timing function for the "float" transition. Generates a CSS at-rule for an invalid label shake. Shake-keyframes($modifier, $positionY, $positionX, $scale) Indicates the label is required and adds an asterisk. Indicates the label is floating in the floating position. querySelector ( '.mdc-floating-label' ) ) Style Customization CSS Classes CSS Class Import from const floatingLabel = new MDCFloatingLabel ( document.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |