Vuetify official doc says you can use the google material icon but some of them not working in is there is any reference online?
<v-icon >
mdi-layers
</v-icon>
the above works but the below one does't
From google material icon
<v-icon>
mdi-expand_more
</v-icon>
Here are the resources I personally use to get mdi icon names:
https://pictogrammers.github.io/#mdi/font/5.4.55/
https://material.io/resources/icons/?style=baseline
https://iconify.design/icon-sets/mdi/
Related
Is there a recommended way to adjust the height of the Angular Material toolbar?
Here is an example of basic usage of the Angular Material toolbar as described here https://material.angular.io/components/toolbar/overview
<mat-toolbar color="primary">
<a class="title" [routerLink]="['']">Azure B2C App1</a>
</mat-toolbar>
This creates a toolbar that is nearly an inch high, which is no use for anything. It's far too big.
The Material documentation page that describes customizing components states that I shouldn't use CSS to override its height, as that might break it. https://material.angular.io/guide/customizing-component-styles
So how am I supposed to resize it to something usable?
I notice the Angular Material documentation doesn't itself use a mat-toolbar for its page header, it uses a hand-rolled custom app-nav component instead. What should I infer from that? That after having installed one of the most heavyweight themeable component libraries around that I'm expected to handroll a themeable and responsive custom toolbar just to get a usable page header?
No, there is no recommended way to adjust the toolbar size.
https://github.com/angular/components/issues/4597
According to this Github issue requests for Angular Material to properly support dense toolbars on desktop in line with Material Design go back to at least 2017, but there is no sign of anything coming soon.
Vuetify seems to be an useful Framework. I was wondering if it's possible to use it inside our NativeScript apps with VUE.js
I have tried :
yarn add vuetify
<v-btn :href="source"
icon
large
target="_blank"
v-on="on"
>
<v-icon large>mdi-code-tags</v-icon>
</v-btn>
But Error says:
No known component for element v-btn.
NativeScript !== Cordova, so you can't. Vuetify is purely browser dependent / HTML DOM based components.
Though Manoj is right to point out that you can't use it like you intendet to do but you still can use a WebView in NativeScript to display your web application. Some apps in the appstores do just that - they use Nativescript for the Main-UI with device features and the webview to show the web application.
I am reading the official docs of Vuetify toolbar, I want to use the toolbar provided in the example but when I use the mobile view from dev tools and click the menu icon to expand it, it doesn't expand.
Here is the example provided by official docs
Here is the code itself
<div id="app">
<v-app id="inspire">
<v-toolbar>
<v-toolbar-side-icon></v-toolbar-side-icon>
<v-toolbar-title>Title</v-toolbar-title>
<v-spacer></v-spacer>
<v-toolbar-items class="hidden-sm-and-down">
<v-btn flat>Link One</v-btn>
<v-btn flat>Link Two</v-btn>
<v-btn flat>Link Three</v-btn>
</v-toolbar-items>
</v-toolbar>
</v-app>
</div>
and
new Vue({
el: '#app',
})
Inside the example you linked, the menu bar does not open either because there is no method to implement it.
In this vuetify example, the menu bar that opens and closes correctly in desktop and mobile.
What they did was implement #click right there in the HTML
<v-toolbar-side-icon #click.stop="drawer = !drawer"></v-toolbar-side-icon>
the tooltip are not working in mobile devices.
mdTooltip="message" [mdTooltipPosition]="tooltipPosition"
when I hover the the div that contain the code it's working on desktop
I know that on mobile I have to click but the click is not working.
My solution in Angular:
<button #tooltip="matTooltip" (click)="tooltip.toggle()" matTooltip="text" matTooltipPosition="above" aria-label="Button that shows a tooltip"> Tooltip </button>
use (click)="tooltip.toggle()" with #tooltip="matTooltip"
I am new in Android and Xamarin . i have grid view with image and text view in my xamarin (android) application . but i wont to use font awesome icon or material icon in place of image in grid view reason behind that is reduce size of application.i try this NuGet package but it's not work for me "https://www.nuget.org/packages/FontAwesome.Xamarin/"
but i don't found proper tutorial for that. so please help me for that and i have one another doubt when i use icon in place of .png so it's help me for reducing size of application or not??