guglcasting.blogg.se

Font picker plugin
Font picker plugin










font picker plugin

This font picker can be used along with our. OpenDialog() // Opens the font picker dialog if not already open.ĬloseDialog() // Closes the font picker dialog if not already closed. This jQuery plugin allows you to add a font picker to easily display a list of fonts in your Bootstrap form. 'alpha' | 'date' | 'popularity' | 'style' | 'trending' Available control / helper functions (provided by the directive): loadFont(font) // Loads the (font.family:font.style) form Web Fonts. GetAllFonts(sort) // Returns list of Google Fonts with given sort option: LoadFont(font) // Loads the given font (family:style) from Web Fonts. (fontPickerUpload) // Event handler for the font upload button click event.Īvailable configuration options (for the global configuration): apiKey // Your Google API key for the Google Web Fonts API.Īvailable control / helper functions (provided by the service): (fontPickerChange) // Event handler for the font / size / style change. Note: The root component needs to have public viewContainerRef. Create dialog component in the root view container (false). inline: dialog is shown permanently (static positioning). popup: dialog is shown as popup (fixed positioning). chrome extension import google font import font from google futura google fonts import font to google. Dialog positioning mode: 'popup', 'inline' ('popup'). Html answers related to google font picker. Class name for the upload button (Replaces default).

font picker plugin

Text label for the upload button (Default: 'Upload'). Show upload button in the font picker (Default: false). Class name for the cancel button (Replaces default).

Text label for the cancel button (Default: 'Cancel'). The plugin enables the following features in the rich-text editor: FontFamily Allows to change the font family by applying inline elements with a font.

Show cancel button in the font picker (Default: false). Global configuration should be provided only once (this is usually done in the root module). Load the module for your app (with global configuration):

FONT PICKER PLUGIN INSTALL

Installing and usage npm install ngx-font-picker -save StackBlitz example Building the library npm install Documentation for the 4.x.x can be found from here. For Angular 4 you need to use the latest 4.x.x version. This documentation is for the latest 5/6.x.x version which requires Angular 5 or newer. This is a simple font picker loosely based on the cool angular2-color-picker by Alberplz.












Font picker plugin