Comments (15)
fa
is a vue component.
You can't render vue components from javascript strings. (at least not without a vue render function)
I will enhance the vuedatatable to be able to render fa5 icons when a custom meta tag is provided in the template, in the near future.
What you can do until then:
- you can include fa5 js globally and use
<i class="fas fa-icon"></i>
. fa5 js will auto replace the icon with the svg. - you can include fa4 and use
<i class="fa fa-icon"></i>
.
from enso.
ok, I think importing it globally is too much overload for one icon
but, if I would like to do that where is the best place to import it globally?
from enso.
in resources/assets/js/enso.js
at line 15 we import ./app.
(app.js). This file is not a part of the core, so will always be local to you project.
This is where you should add what you need extra.
from enso.
thx
from enso.
@mauthi you can check laravel-enso/tables@dfbd4cc
and if you like it don't forget to star the vdt package :P
from enso.
from enso.
I suppose that I could add another attribute in meta, something like pressable
that would emit an event pressed
together with the column name and the whole row. And maybe underline this with dotted line, and set the pointer cursor on it...
from enso.
from enso.
linkable
and icon
would work together :)
Icons in custom render .. not too soon.
from enso.
from enso.
There will always be some idea not covered (or not coverable in an elegant manner) ;)
from enso.
the new meta attribute is clickable
, and the event is clicked
. It passes both column
& row
.
from enso.
from enso.
I suppose you are refering at a falsy row[column.name]
. If so yes, go ahead.
P.S. This is enso's repo, not vdt ;)
from enso.
sorry, is it possible to move the issue to vdt?
from enso.
Related Issues (20)
- Login component rendered after login on homepage HOT 9
- Vue 3 HOT 1
- 403 after login (instead of homepage) HOT 1
- API Issue after install HOT 4
- These dependencies were not found: @root/routes in ./node_modules/@enso-ui/ui/src/core/services/contexts.js HOT 1
- Component emitted event "edit" but it is neither declared in the emits option nor as an "onEdit" prop. HOT 2
- After update to 4.9.1 /api/broadcasting/auth is called 3 times but every call fails with status 419 and push notifications are not working anymore HOT 2
- "export 'Url' was not found in './Url.vue' || Uncaught TypeError: route is undefined HOT 3
- I am looking to pay for help with my Enso based project HOT 1
- FontAwesome 6.1.1 - upgrade. HOT 2
- composer.json loose version match - PHP 8.1 forced upgrade. HOT 2
- Logout does not do anything if session is expired.
- @enso-ui+companies+5.0.1.patch incompatible with companies 5.0.3
- Broken date-time filters on Value (exact match) for tables (from Enso 5.0.0) HOT 1
- Datetime filters may be misleading on the "time" part. HOT 1
- I am getting 500 error HOT 1
- Table filters when using time interval the calendar month forward/backward button unexpectedly close the filter UI
- "options" meta parameter for field "menu_id" must be an array a collection or an Enum HOT 2
- Class "LaravelEnso\DataExport\Enums\Status" not found HOT 1
- These credentials do not match our records HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enso.